Show tags in hg history etc.
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 17 Jun 2005 10:30:46 +0100
changeset 387 c07c6fb2f0a8
parent 386 494c8e3f47f3
child 388 398737777644
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-----
mercurial/commands.py
--- a/mercurial/commands.py	Fri Jun 17 10:19:43 2005 +0100
+++ b/mercurial/commands.py	Fri Jun 17 10:30:46 2005 +0100
@@ -108,6 +108,8 @@
         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]),