info-cvs
[Top][All Lists]
Advanced

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

Re: Lost branch need help!!


From: Mark D. Baushke
Subject: Re: Lost branch need help!!
Date: Fri, 24 Oct 2003 08:37:56 -0700

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

address@hidden writes:

> I need some serious help...

I hope you have a backup of your repository...

> I seem to have lost a branch in CVS.  More specifically, I still seem to 
> have the branch, as I can do a checkout of the branch, but all the files 
> that were once part of the branch are now gone.
> 
> I still have all our files on the head and if I use WinCVS to graph the 
> files I get something like this:
> 
> Foo.cpp-----1.1
>                     1.2
>                     1.3--------------1.3.2.1
>  1.3.2.2------------------b_development
>                                             b_AXA
> 
> What I should have however is:
> 
> Foo.cpp-----1.1
>                     1.2
>                     1.3--------------b_ALM
>                                             1.3.2.1
>  1.3.2.2------------------b_development
>                                             b_AXA
> 
> The branch b_ALM is missing and the branch revision 1.3.2.1 appears to be 
> hanging there with out a branch.
> 
> I have tried looking at the logs and history but I don't seem to see 
> anything that tells me what happened.  In the history I don't even show 
> the branch.
> 
> Can anyone tell me how I can find out what happened and who did it?  I 
> don't really know where to start.  Also, more importantly how can I 
> recover from this and get back the missing files?

It would seem that someone did a 'cvs tag -d b_ALM' on your repository
(depending on the version of your cvs the user may also have needed to
add the -B switch if it is a more recent version of cvs).

There is no simple way to go back and re-install the tag once all memory
of it has been erased. If you have a backup of your repository, then you
can find out what value was in each ,v file for b_ALM and go back and
use the cvs admin command to re-insert the tag that is needed.

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/mUdT3x41pRYZE/gRAly2AKCDHKAzczAnWLFjLf1F/sDozqMT1QCcDuX3
Mz8YQC591G0awNf4c0Qxe78=
=yVS6
-----END PGP SIGNATURE-----




reply via email to

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