Re: Reversing 'cvs remove'

Larry Jones <[email protected]> Mon, 23 Apr 2012 10:28:21 -0400
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Jake Colman writes:
> 
> I deleted a file and did a 'cvs remove file' but did not yet commit.
> 
> I want to undo what I have done.
> 
> I restored the delete file but what I do for cvs?  A 'cvs add file' tell
> me that 
> 
> cvs add: header.html should be removed and is still there (or is back
> again)

You're on the right path, you're just trying too hard: you shouldn't
have restored the deleted file.  Just delete the local file again and
then do the `cvs add' and CVS will restore it from the repository.
-- 
Larry Jones

From now on, I'm devoting myself to the cultivation of
interpersonal relationships. -- Calvin