# HG changeset patch # User Thomas Arendsen Hein # Date 1119000646 -3600 # Node ID c07c6fb2f0a8e01f279db68c177f689ae4598e78 # Parent 494c8e3f47f393934afc87f41b6b6f83634182b0 Show tags in hg history etc. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Show tags in hg history etc. manifest hash: 5520d8f5be86d5183c5b6f84e25cb99eb35ad4b7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCsphGW7P1GVgWeRoRAtujAJ97McEv8gL8m1uZz79ufKgbzFf6ZACfd7vQ 49wFPb65oMSwro9XjOoGgCk= =BSsw -----END PGP SIGNATURE----- diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -108,6 +108,8 @@ def show_changeset(ui, repo, rev=0, chan ui.status("changeset: %d:%s\n" % (changerev, hg.hex(changenode))) else: ui.write("changeset: %d:%s\n" % (changerev, hg.hex(changenode))) + for tag in repo.nodetags(changenode): + ui.status("tag: %s\n" % tag) for parent in parents: ui.write("parent: %d:%s\n" % parent) ui.note("manifest: %d:%s\n" % (repo.manifest.rev(changes[0]),