Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
8496:a21605de1509 | 8497:ff22d4c3ac04 |
---|---|
1229 edittext.append(ctx.description()) | 1229 edittext.append(ctx.description()) |
1230 edittext.append("") | 1230 edittext.append("") |
1231 edittext.append("") # Empty line between message and comments. | 1231 edittext.append("") # Empty line between message and comments. |
1232 edittext.append(_("HG: Enter commit message." | 1232 edittext.append(_("HG: Enter commit message." |
1233 " Lines beginning with 'HG:' are removed.")) | 1233 " Lines beginning with 'HG:' are removed.")) |
1234 edittext.append("HG: Leave message empty to abort commit.") | |
1234 edittext.append("HG: --") | 1235 edittext.append("HG: --") |
1235 edittext.append(_("HG: user: %s") % ctx.user()) | 1236 edittext.append(_("HG: user: %s") % ctx.user()) |
1236 if ctx.p2(): | 1237 if ctx.p2(): |
1237 edittext.append(_("HG: branch merge")) | 1238 edittext.append(_("HG: branch merge")) |
1238 if ctx.branch(): | 1239 if ctx.branch(): |