update -C within branch (was: mercurial/crew-stable@3978: 9 outgoing changesets)

Thomas Arendsen Hein thomas at intevation.de
Sun Mar 11 12:25:08 CDT 2007


* Mercurial Commits <hg at intevation.org> [20070311 13:02]:
> http://hg.intevation.org/mercurial/crew-stable/rev/fc12ac3755d5
> changeset:   3978:fc12ac3755d5
> tag:         tip
> user:        Brendan Cully <brendan at kublai.com>
> date:        Sat Mar 10 17:36:29 2007 -0800
> summary:     Test update to branch tip
> 
> http://hg.intevation.org/mercurial/crew-stable/rev/a2335e832e16
> changeset:   3977:a2335e832e16
> user:        Brendan Cully <brendan at kublai.com>
> date:        Sat Mar 10 17:36:27 2007 -0800
> summary:     Make update with no node jump to the tip of the current branch

I really like this, but I was a little bit surprised when 'hg co -C'
didn't switch me to the repo's real tip so I had to use 'hg co -C tip'.

Usually 'hg co -C' is used to force an update to a different head.
As branches can have more than head, too, this feature is required,
and therefore the behavious shouldn't be changed now, but maybe this
should be mentioned in the help text in a sensible way.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrück - Registereintrag: Amtsgericht Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list