[PATCH 1 of 2] commit: save commit message so it's not destroyed by rollback

Martin Geisler mg at lazybytes.net
Mon Nov 23 06:02:49 CST 2009


Adrian Buehlmann <adrian at cadifra.com> writes:

> On 23.11.2009 10:11, Martin Geisler wrote:
>>> It's probably best if Matt just picks a name and ends this discussion.
>> 
>> I don't think we should not channel every little decision through
>> Matt, I'm sure he has better things to do :-)
>
> I'm not entirely sure that Matt would prefer having a .txt suffix,
> since it would be clearly a deviation from current naming standards
> inside .hg.
>
> It's surprising though to read that you see the current naming
> of the other files inside .hg as broken.

Well, broken is too strong... all I wanted to say is that it would not
have hurt anybody if we had added '.ini' or '.txt' from the beginning.

The question is whether we should continue this style for new files too.
I can definitely see that it's nice to keep things consistent, but it's
also nice to make things ever so slightly easier.

But perhaps it doesn't matter here -- if people use .hg/message as

  hg commit -l .hg/message

when it wont benefit from a filename extension. As you pointed out, the
.hg directory is hidden so maybe people wont be clicking around inside
of it.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


More information about the Mercurial-devel mailing list