Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4718:934275cd4526
backout: report short hash in commit message
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 25 Jun 2007 12:44:48 -0500 |
parents | a6b62584d0b2 |
children | f6e961c0155b |
line wrap: on
line diff
--- 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):