How do I restore a deleted file in CVS?

cvs
Harry picture Harry · Sep 28, 2008 · Viewed 40.8k times · Source

I've removed a checked in file from the CVS branch, i.e.:

cvs remove -f file.txt
cvs commit

How do I restore the file?

Answer

Jason Etheridge picture Jason Etheridge · Sep 28, 2008

I believe that:

cvs add file.txt
cvs commit file.txt

... will resurrect it from the attic.