info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to restore Attic files in CVS


From: Larry Jones
Subject: Re: How to restore Attic files in CVS
Date: Sun, 5 Apr 2009 14:52:48 -0400

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]