Mercurial > hg > mercurial-crew-with-dirclash
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 +++ b/mercurial/commands.py @@ -199,7 +199,7 @@ def backout(ui, repo, node=None, rev=Non 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):