diff mercurial/cmdutil.py @ 8497:ff22d4c3ac04

commit: explain how to abort commit in editor
author Matt Mackall <mpm@selenic.com>
date Mon, 18 May 2009 17:36:24 -0500
parents 1a96f1d9599b
children 5b6a6ed4f185
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Mon May 18 17:36:24 2009 -0500
+++ b/mercurial/cmdutil.py	Mon May 18 17:36:24 2009 -0500
@@ -1231,6 +1231,7 @@
     edittext.append("") # Empty line between message and comments.
     edittext.append(_("HG: Enter commit message."
                       "  Lines beginning with 'HG:' are removed."))
+    edittext.append("HG: Leave message empty to abort commit.")
     edittext.append("HG: --")
     edittext.append(_("HG: user: %s") % ctx.user())
     if ctx.p2():