Berkeley CSUA MOTD:Entry 21861
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2001/7/19 [Computer/SW/RevisionControl] UID:21861 Activity:moderate
7/19    Okay I was stupid, I accidentally did a "cvs rm; cvs commit" and now
        the file only exists in $CVSROOT/.../Attic/OldFile.c,v. How do I
        read it or recover it? I already rtfm. Thanks.
        \_ cvs update -r<INSERT_PREVIOUS_VERSION_NUMBER_HERE> <filename>
           cp filename foo
           cvs update -A <filename> -- file goes poof
           cp foo <filename>
           cvs add <filename>
           cvs ci <filename>