Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

Removing Files from a Project

To remove a file from the repository first remove it from your directory then use:

  cvs remove stubs.py

The file is removed when you next commit.

If you've removed and committed the remove but want to restore the file, then find the version of the removed file:

  $ cvs status stubs.py
  File: no file stubs.py                Status: Up-to-date

     Working revision:  No entry for stubs.py
     Repository revision:       1.3     /var/cvs/projects/kton/Attic/stubs.py,v

So this is version 1.3. We restore it using:

  $ cvs update -j1.3 -j1.2 stubs.py
  U stubs.py

Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.