[Top][All Lists]

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

Re: branch deleted but still needed

From: Eric Siegerman
Subject: Re: branch deleted but still needed
Date: Tue, 5 Feb 2002 17:01:10 -0500
User-agent: Mutt/1.2.5i

On Tue, Feb 05, 2002 at 04:07:01PM -0500, Larry Jones wrote:
> > Is there a way to restore the branch (i.e.,
> > restoring the name) so we can continue to reference it as before?
> Not easily.  You can do it manually, file by file, using cvs admin -n. 
> You're probably better off restoring your repository from a recent
> backup.

Or restore the repo to a temporary location; use "cvs log" or
"cvs status -v" on that to find out, for each file, the "magic"
revision number that was associated with the branch tag; massage
the output from the above into a humongous shell script full of
"cvs admin -n" commands; and let that rip (after making another
backup of the live repo, of course!).


|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
One ring to rule the mall.
        - Movie review headline, eye Magazine

reply via email to

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