info-cvs
[Top][All Lists]
Advanced

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

Re: Accessing files removed from the trunk


From: Mark D. Baushke
Subject: Re: Accessing files removed from the trunk
Date: Fri, 06 Jan 2006 13:49:45 -0800

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

Matthew Rich <address@hidden> writes:

> Okay I finially got more info.  Turns out I was right
> but the developer also removed the files from the
> branch by mistake.  So if the files are removed from
> the branch are all the tags that refered to thoses
> files lost?  I hope not.

No, the branch tags should still be there.

You can either add the last known good revision of the branch files to
the directory, or you can do something like a checkout by time to just
before the commit to the branch, tag it with a verion tag and then
use a command like

For example, if a 

   cvs log -rbranch-name directory/missing-file.c

shows revision 1.27.2.6 with a 'date: 2005-12-31 12:17:15' and a
'state: dead', then you want the second before that commit occured:

   cvs update -jbranch-name -D"2005-12-31 12:17:14 UTC" directory
   cvs tag newtag directory
   cvs update -rbranch-name directory
   cd directory
   cvs udpate -jbranch-name -jnewtag

to reverse the mistaken commit.

        Good luck,
        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDvuX5Cg7APGsDnFERAmHYAKDipHw4EGtV8OuaYM/CN4/D2a0A3QCfXTMk
uP/RIn3kJDUwHDRAuumOFb4=
=k7s9
-----END PGP SIGNATURE-----




reply via email to

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