Re: How to restore Attic files in CVS

Larry Jones <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Peter Toft writes:
> 
> On Sun, 5 Apr 2009, Jim Hyslop wrote:
> >
> > Someone has 'cvs remove'd the files. Just restore them with 'cvs add'.
> 
> cvs log <file>
> Find til newest non-dead version
> cvs update -r <last-version> <file>
> mv <file> foo
> cvs update -A <file>
> mv foo <file>
> cvs add <file>
> cvs commit -m "bring out your dead, bring out your dead" <file>

Neither of those suggestions is very good -- the first doesn't work at
all and the second is more complex than necessary and subject to error. 
Please see the manual for the correct method:

	<http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_5.html#SEC62>
-- 
Larry Jones

He's just jealous because I accomplish so much more than he does. -- Calvin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.