changing commit comments

Paul Moore p.f.moore at gmail.com
Tue Jul 15 08:19:58 CDT 2008


On 15/07/2008, Ted Pavlic <ted at tedpavlic.com> wrote:
> The g's force MQ to use git diff. Without git diff, MQ can obliterate
> binary files in your manifest. You can add "--git" to your ~/.hgrc
> defaults for qimport, qdiff, qnew, and qrefresh. In that case, you can
> omit the g's here.

Good point. I have --git in ~/.hgrc, so I tend to forget about this. I
suspect most Mercurial users do, in fact.

Question: Is there any reason why --git shouldn't be the default (with
maybe a --portable flag to switch it off)? I'd rather have safety be
the default, with portability available as an option (for those cases
where unsafe but portable is needed - I believe --git format is
normally portable, in the absence of binary files).

Paul.


More information about the Mercurial mailing list