info-cvs
[Top][All Lists]
Advanced

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

RE: renaming a branch?


From: Gianni Mariani
Subject: RE: renaming a branch?
Date: Sat, 20 Oct 2001 00:16:54 -0700

You can create a synonym of a branch using:

cvs admin -nNEWBRANCH:OLDBRANCH

and then you can remove OLDBRANCH.

-- Strong suggestion is to back up your repository, I've only tested this -
I've never used it in anger.  There's no rolling back from mistakes.

-----Original Message-----
From: address@hidden [mailto:address@hidden Behalf Of
Keith Hearn
Sent: Friday, October 19, 2001 6:13 PM
To: 'address@hidden'
Subject: renaming a branch?



Is there a decent way to rename a branch?

We'd like to have our branches named BR_<version>, such as BR_1_0 for
maintenance of the 1.0 release, BR_1_1 for the 1.1 release, etc.
Unfortunately, we created a BR_1_0 branch a while back, and later decided it
was too early for making the branch so we merged everything from it back
into the trunk. The branch is still there, it's just an unused dead end
(like an abandoned railroad spur going off into the weeds...). We're now
approaching the point when we really should create a branch for the 1.0
release. I'd really like to use BR_1_0 as the branch tag, but I don't think
I can if there is already a branch with that name.

I suspect that I can do something like using find and sed to change every
occurrence of "BR_1_0" in the repository to "old_1_0", but I'm wondering if
someone knows a better way?

If not, would it work to just do the above find/sed hack?

  Thanks for any help you can offer,

    Keith Hearn


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

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