deleting a named branch

Theodore Tso tytso at mit.edu
Mon Jun 9 01:03:39 CDT 2008


On Sun, Jun 08, 2008 at 04:11:06PM +0200, Martin Geisler wrote:
> >
> > I'm not sure I want all those branches cluttering up things though,
> > and I'm wondering if there's a way to delete the named branches when
> > I'm done with them. Is there?
> 
> No, unfortunately not. Named branches are not meant for short-lived
> branches but for long-term branches like "stable" vs. "devel".

You can use "hg strip" to get rid of named branches, but I believe git
is much more optimized for a development workflow that uses lots of
short-lived branches.  Hence, if project developers like to use lots
of short-lived "topic branches" as part of their development
methodology, git is going to be much a better choice for them.

Regards,

						- Ted


More information about the Mercurial mailing list