[Top][All Lists]

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

Re: recover from a deleted branch

From: Jim Hyslop
Subject: Re: recover from a deleted branch
Date: Mon, 10 Oct 2005 13:33:26 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

[removed address@hidden from recipient list - please do not cross-post to groups that require you to subscribe before posting]

DHARNA, AJAY [AG/1000] wrote:
cvs -z9 tag -d -B branch_name

Hmmm... well, I don't know if there's an easier way to do it, but one way you can do this is to use the cvs admin -n command. Unfortunately, you will have to issue the command on each individual file, and specify the numeric revision on which the branch was based.

The command syntax will be:

cvs admin -nbranch_name:[base revision #] filename


cvs admin -nbranch_name:1.1.2 hello.c
cvs admin -nbranch_name:1.4.4 afile.c

Note that the base revision number has an odd number of fields.

The base revision can be obtained from a 'cvs log' command.

Note that all traces of the branch will be completely lost if there were no check-ins on that branch for a particular file.

If the tags were deleted fairly recently, it may be easier to restore your latest files from your daily backup.


reply via email to

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