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

Steve Losh steve at stevelosh.com
Sun Nov 22 17:36:22 CST 2009


On Nov 22, 2009, at 6:26 PM, timeless wrote:

> On Mon, Nov 23, 2009 at 1:14 AM, Adrian Buehlmann  
> <adrian at cadifra.com> wrote:
>> Huh?
>>
>> .hg/message is perfect (without .txt)
>
> it's pretty bad for windows computers or any graphical systems (OS X
> and even Gnome).
>
> It's fine if everyone uses a commandline, but if they actually want to
> use the 'open' or 'start' verbs from a commandline to open the file,
> or if they want to use their file manager (which is not set to hide
> files), then using 'message' instead of 'message.txt' is a disservice.
>
> And just because people use a command line doesn't mean they like
> vi/emacs, maybe they like TextEdit.app and want to use open. Or maybe
> they like notepad.exe and want to use start. Gui users shouldn't be
> forced to use graphical front ends for Mercurial just to get decent
> handling of the message file.

I agree, and if someone uses a command-line editor they're probably  
tab-completing the filename anyway, so it won't make them type more.

> Note that Mercurial does support $EDITOR and friends, without
> requiring gtkHg or whatever.
>
> (sorry, i'm in a ranting mood, i just complained for a while on
> another list, so this is overflow)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

--
Steve Losh
http://stevelosh.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091122/94ae3d25/attachment.htm>


More information about the Mercurial-devel mailing list