[PATCH 3 of 5] Add option to heads to show only heads for current branch

Thomas Arendsen Hein thomas at intevation.de
Wed Jun 6 10:57:20 CDT 2007


* Daniel Holth <dholth at fastmail.fm> [20070606 15:04]:
> > "hg foo -r `hg branch`" already can do this for heads and log, maybe
> > we just need an alias for the current branch, something like '.' for
> > the current parent. Maybe '@'?
>
> According to graphlog, @ means the working copy revision.

and 'o' means every other version? :)

Just try "hg log -r." vs. "hg log -r@".

Maybe glog should be fixed to display a dot here?

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list