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
+++ b/mercurial/commands.py
@@ -216,7 +216,7 @@ def show_changeset(ui, repo, rev=0, chan
         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)