[PATCH] commit: explicitly documented the existence of "last-message.txt"
Martin Geisler
mg at lazybytes.net
Sat Aug 14 13:00:54 UTC 2010
Renato Cunha <renatoc at gmail.com> writes:
> On Tue, Aug 03, 2010 at 09:32:23AM -0400, Greg Ward wrote:
>> On Mon, Jul 26, 2010 at 11:45 AM, Renato Cunha <renatoc at gmail.com> wrote:
>> > # HG changeset patch
>> > # User Renato Cunha <renatoc at gmail.com>
>> > # Date 1280158992 10800
>> > # Node ID 505b7d36d5bfdaa505bc0b0016d29c93752c340f
>> > # Parent c5e555e064d0ceed3a177b656a49f50890d17cfa
>> > commit: explicitly documented the existence of "last-message.txt"
>> >
>> > diff --git a/mercurial/commands.py b/mercurial/commands.py
>> > --- a/mercurial/commands.py
>> > +++ b/mercurial/commands.py
>> > @@ -727,7 +727,9 @@
>> > filenames or -I/-X filters.
>> >
>> > If no commit message is specified, the configured editor is
>> > - started to prompt you for a message.
>> > + started to prompt you for one, and in case your commit fails,
>> > + you can find a backup of your message in
>> > + <repo-root>/.hg/last-message.txt.
>>
>> +1, but that's a bit of a long sentence. How about:
>
> True.
>
>> 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``.
>>
>> I took the liberty of changing passive voice to active, and I think
>> <repo-root> is perhaps unnecessary. Adjust as you see fit!
>
> Looks good to me.
Thanks guys, I've pushed Greg's version as 8f40125a0ed8 to stable!
--
Martin Geisler
Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20100814/fa0b209c/attachment.asc>
More information about the Mercurial-devel
mailing list