[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help] "cvs rm -f" question
From: |
david |
Subject: |
Re: [help] "cvs rm -f" question |
Date: |
Thu, 16 May 2002 11:18:51 -0500 (CDT) |
> 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]"
I don't use "cvs rm -f", for similar reasons. Destructive commands should
be slightly awkward, and streamlining them is often a bad idea.
> - 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.
>
Which files? If you didn't commit the changes, then you didn't change
the repository. (If you did, it's possible to check out the files again
and re-add them.) If you want to recover the files you deleted, it's
probably impossible unless they were backed up. Unix has one-step
file deletion, unlike the Macintosh and Microsoft Windows which have
a two-step, and that two-step deletion has saved me on occasion.
David H. Thornley | If you want my opinion, ask.
address@hidden | If you don't, flee.
http://www.thornley.net/~thornley/david/ | O-