mercurial/commands.py
changeset 4718 934275cd4526
parent 4699 a6b62584d0b2
child 4726 f6e961c0155b
--- a/mercurial/commands.py	Mon Jun 25 22:41:15 2007 +0200
+++ b/mercurial/commands.py	Mon Jun 25 12:44:48 2007 -0500
@@ -199,7 +199,7 @@
     commit_opts = opts.copy()
     commit_opts['addremove'] = False
     if not commit_opts['message'] and not commit_opts['logfile']:
-        commit_opts['message'] = _("Backed out changeset %s") % (hex(node))
+        commit_opts['message'] = _("Backed out changeset %s") % (short(node))
         commit_opts['force_editor'] = True
     commit(ui, repo, **commit_opts)
     def nice(node):