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

Daniel Holth dholth at fastmail.fm
Wed Jun 6 08:01:25 CDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Arendsen Hein wrote:
> * Eric Hopper <hopper at omnifarious.org> [20070606 05:24]:
>> # HG changeset patch
>> # User Eric Hopper <hopper at omnifarious.org>
>> # Date 1181098447 25200
>> # Node ID 2b43d4e96d9ca28382a182fc90e86b9310453687
>> # Parent  69f6cc3ee7ac38841e2875986fcb22b74d5d52c3
>> Add option to heads to show only heads for current branch.
>
> What about an option common for many commands (maybe a global
> option) that will restrict those commands to the currently selected
> branch?
>
> hg heads -? will show heads for the current branch only
> hg tip -? will show the newest revision for the current branch
> hg log -? will show the log for the current branch
> what else?
>
> "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 '@'?
>
> Thomas
According to graphlog, @ means the working copy revision.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGZrAgVh4W2pVfoMsRAq4wAJ4hKm7K1VebMK23pBHjcmD9yvvqEQCg8SAG
l/6lgAVhoJ8YVIw7om+hMz8=
=MSWg
-----END PGP SIGNATURE-----



More information about the Mercurial-devel mailing list