keeping / reusing the same branch name

Pierre Asselin pa at panix.com
Mon Jan 5 02:58:37 UTC 2009


Zorba <cr at altmore.co.uk> wrote:
> Can a branch name be reused for a new branch, after the original branch has 
> been merged back into its parent ?

Maybe.  The 'branch' command has a '--force' option.

> And, is it possible ot merge a branch back into its parent, and keep the 
> branch alive ? 

I'm sure it is.  Just update back to the branch.  You will be on the
last pre-merge changeset of the branch.  Make changes and commit them,
the commit will sprout a new twig, still on the branch.

-- 
pa at panix dot com




More information about the Mercurial mailing list