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: Peter Toft
Subject: Re: How to restore Attic files in CVS
Date: Sun, 5 Apr 2009 09:13:06 +0200 (CEST)

On Sun, 5 Apr 2009, Jim Hyslop wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trinh, An wrote:
I have files that went into the Attic.  How do I restore them back?
I've moved the files out of the Attic folder but when I checkout the
folder, the cvs GUI doesn't show any files under the folder.  Viewing
the files revealed that they're in DEAD State.

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>

/pto



--
Peter Toft, Ph.D. address@hidden http://petertoft.dk
I blog at http://www.version2.dk/blogs/petertoft





reply via email to

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