[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recovering from Attic
From: |
Mark D. Baushke |
Subject: |
Re: Recovering from Attic |
Date: |
Wed, 08 Jun 2005 09:31:58 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Jackson <address@hidden> writes:
> Ok, if there is a directory in a project that had three files in it
> and they were all removed to the attic with cvs rm at different times
> and you want to recover all three files (say 3 could be 100+ files in
> some cases) but they all have different versions on them. How could
> you check the version just before the version that was marked as dead
> and moved to the attic? I did manage to recover something that had
> been tagged, but in this case many of the files would not be tagged in
> a version.
One method is to checkout by datestamp and then tag files that you see
and like with some tag (say recovery-tag), then use that tag to do the
recovery:
cvs update -A
cvs update -jHEAD -jrecovery-tag
There are other ways to get there, but most folks have some conception
of the time when a particular file was okay. If not, then use cvs2cl or
some other logging tool to get the dates into a file for you to consult.
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFCpx193x41pRYZE/gRAnidAKDWTiPhcM0c/TPrcDh4F+uAYIs0GQCfQwgI
loShhKqujYoorYF6F4ll9Bk=
=6X2O
-----END PGP SIGNATURE-----