info-cvs
[Top][All Lists]
Advanced

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

Re: Lost branch need help!!


From: Dan . Crea
Subject: Re: Lost branch need help!!
Date: Fri, 24 Oct 2003 10:55:10 -0500

Hello Mark:

As I found out, that is exactly what happened.  The wrong branch name was
given during a delete.  So what I am thinking about doing to recover is
the following:

I have found only 4 files are different between the head and the delete
branch.  I was planning on doing a checkout of the head and then update
these 4 files into my working directory using the revisions that where on
the branch.   Then I can rebranch and this should give me what was on the
delete branch.

Will this work?

Thanks





"Mark D. Baushke" <address@hidden>
Sent by: address@hidden
10/24/2003 10:37 AM


        To:     address@hidden
        cc:     address@hidden
        Subject:        Re: Lost branch need help!!


-----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-----




**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
**************************************************************************************





reply via email to

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