info-cvs
[Top][All Lists]
Advanced

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

Re: How does one change the identity of the HEAD (trunk) ?


From: Adam Bregenzer
Subject: Re: How does one change the identity of the HEAD (trunk) ?
Date: 19 Sep 2002 16:03:30 -0400

Tag the current ERASER branch, checkout a fresh copy off the HEAD
branch, merge your changes from the new ERASER tag into your working
copy.  If you have any conflicts from development done on the HEAD
branch after the ERASER branch started either resolve them, or to
discard them merge from the new tag on ERASER onto the tag from the
beginning of the branch.  Commit those changes and move on in the HEAD
branch, leaving the ERASER branch to wither on the vine, to extend the
metaphor.  The developers will need to checkout a new copy to get back
onto the HEAD branch.

It would be a good idea to include a nice, verbose comment in the commit
to the HEAD branch detailing the exact steps you took so months later if
a commit turns up missing you have something to start with.


Adam


On Thu, 2002-09-19 at 15:37, Julian Seward wrote:
> 
> Greetings.
> 
> We have a project (valgrind) in which development proceeded
> in the normal way on the trunk.  After a while we made a branch 
> (VALGRIND_1_0_BRANCH) from which to do stable releases, and
> that all works fine.
> 
> The plan was to continue development on the trunk (HEAD), as
> you'd normally do.  Problem is, another branch (ERASER) appeared, 
> and all interesting development happened there instead.
> 
> Now what we want to do is to throw away, in effect, the current HEAD
> and turn the interesting ERASER branch into the HEAD.  
> 
> How can we do this?  
> 
> I already looked at 
> 
>    the cvs faq-o-matic, entry #36, 
>    http://ccvs.cvshome.org/fom//cache/36.html
>    which describes how to change the name of a branch,
>    but my situation involves throwing away a branch and replacing
>    it with a different one.
> 
>    I also looked at the section entitled
>     "Some real-life problems (with solutions)"
>    at http://cvsbook.red-bean.com/cvsbook.html
>    and various other parts of this doc.  
> 
> From neither of them was it possible to see how to do this,
> nor whether it is even possible.
> 
> Can anyone offer guidance here?  We are prepared to mash around 
> our repo contents by hand; whatever it takes.
> 
> Thanks,
> 
> J
> 
> 
> 
> _______________________________________________
> 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]