# HG changeset patch # User Greg Ward # Date 1281790653 -7200 # Node ID 8f40125a0ed86bc1755334af705b755acf718dc2 # Parent 85de44ae023852ae95edb1519b1f201663235870 commit: explicitly document the existence of "last-message.txt" diff -r 85de44ae0238 -r 8f40125a0ed8 mercurial/commands.py --- a/mercurial/commands.py Sat Aug 14 01:31:57 2010 +0200 +++ b/mercurial/commands.py Sat Aug 14 14:57:33 2010 +0200 @@ -739,8 +739,10 @@ If you are committing the result of a merge, do not provide any filenames or -I/-X filters. - If no commit message is specified, the configured editor is - started to prompt you for a message. + If no commit message is specified, Mercurial starts your + configured editor where you can enter a message. In case your + commit fails, you will find a backup of your message in + ``.hg/last-message.txt``. See :hg:`help dates` for a list of formats valid for -d/--date.