[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [help] "cvs rm -f" question

From: Dale . Miller
Subject: RE: [help] "cvs rm -f" question
Date: Thu, 16 May 2002 17:57:07 -0500


In you will see:

If you execute remove for a file, and then change your mind before you
commit, you can undo the remove with an add command.

  $ ls
  CVS   ja.h  oj.c
  $ rm oj.c
  $ cvs remove oj.c
  cvs remove: scheduling oj.c for removal
  cvs remove: use 'cvs commit' to remove this file permanently
  $ cvs add oj.c
  U oj.c
  cvs add: oj.c, version, resurrected

HOWEVER, the resurrected versions will not contain any local modifications
that you had not checked in.
If you had checked in your changes you are in luck.

Dale Miller

-----Original Message-----
From: gmres [mailto:address@hidden
Sent: Thursday, May 16, 2002 7:13 AM
To: address@hidden
Subject: [help] "cvs rm -f" question

Dear all, 

I'm a newbie to cvs, please excuse me if my question is in FAQ. 
My problem is: 
- i have a local cvs server 
- after checking out a project, many changes has been made 
- because the changes include deleting files from the project, i must have
used "cvs rm -f [filenames]" 
- unfortunately, instead of this command, i used "cvs rm -f" (without any
file names!), and all files in the project directory are accidentally
removed :-( 

Please help me recover deleted files, if it is possible. 

Thanks so much in advance, 

Join Excite! -
The most personalized portal on the Web! 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]