changeset 921:1a51fa1b3513

show_changeset: -q shows short hash
author mpm@selenic.com
date Tue, 16 Aug 2005 15:50:42 -0800
parents 270756aa29d5
children f4c7ad186983
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Aug 16 15:49:26 2005 -0800
+++ b/mercurial/commands.py	Tue Aug 16 15:50:42 2005 -0800
@@ -216,7 +216,7 @@
         node = changenode
 
     if ui.quiet:
-        ui.write("%d:%s\n" % (rev, hg.hex(node)))
+        ui.write("%d:%s\n" % (rev, hg.short(node)))
         return
 
     changes = changelog.read(changenode)