changing commit comments

Eric Veiras Galisson eric.veirasgalisson at gmail.com
Tue Jul 15 09:14:20 CDT 2008


Just a question: what is the '--git' option about?
All of you seems to use it, but i can't find any mention of it on the hg wiki.

On Tue, Jul 15, 2008 at 3:19 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> 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.
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



-- 
Eric Veiras Galisson
http://www.veiras.info


More information about the Mercurial mailing list