changeset 5475:3aa5c45874c6

gpg: use the same log message format as hg tag
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 20 Oct 2007 03:04:34 +0200
parents 5d8f5ad45c12
children f00ed7c5877b
files hgext/gpg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/gpg.py	Fri Oct 19 18:25:28 2007 -0500
+++ b/hgext/gpg.py	Sat Oct 20 03:04:34 2007 +0200
@@ -249,7 +249,7 @@
     message = opts['message']
     if not message:
         message = "\n".join([_("Added signature for changeset %s")
-                             % hgnode.hex(n)
+                             % hgnode.short(n)
                              for n in nodes])
     try:
         repo.commit([".hgsigs"], message, opts['user'], opts['date'])