Changing the tip

Hans Meine meine at informatik.uni-hamburg.de
Thu Oct 22 04:41:36 CDT 2009


On Thursday 22 October 2009 11:30:38 Romain Pelisse wrote:
> Now I want my repo's tip to come back to (N-5) revision,  and leave
> the extra next one as a "dead branch". How should I do this ? change
> the 'tip' name ? close the branch ?

First, simply update to the good rev. and proceed from there (committing 
etc.), this will create a new branch.

You may later close or even remove the dead branch.  Closing is done using
"hg commit --close-branch", but AFAIK this new idea is not fully integrated 
(yet?).  I mean, even hg itself does not ignore such closed branches in "hg 
heads" for example.

HTH,
  Hans


More information about the Mercurial mailing list