"hg branches"

Matt Mackall mpm at selenic.com
Sat Jun 9 12:14:14 CDT 2007


On Sat, Jun 09, 2007 at 09:11:30AM -0700, Brendan Cully wrote:
> On Saturday, 09 June 2007 at 00:08, Daniel Holth wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > The current Mercurial "hg branches" feature, imo, is a horrible
> > misfeature the proper use of which was never understood by anyone at
> > all. That is because the feature as implemented is properly left unused.
> > 
> > Once you have the misfortune to try to use the current "hg branches"
> > feature, which is a way of giving a special kind of tag to individual
> > revisions, you find it is completely unintuitive. For starters, "hg
> > branch x" does not create a branch, "hg update -r branch-name" is
> 
> hg branch might want a flag to create the branch immediately via empty
> commit, I guess.

Or perhaps a reminder message, like hg pull has:

 New branch 'foo' created, don't forget to commit.

That seems quite reasonable.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial-devel mailing list