bug: qpush loses loses file executable permissions

Brendan Cully brendan at kublai.com
Thu Nov 2 16:16:20 CST 2006


On Thursday, 02 November 2006 at 14:04, Armando Singer wrote:
> Thank you. This is what I could find in the wiki (tonfa) about turning
> on git diffs:
> 
>  "support for git-style extended patches, including copy/rename
>  information, mode changes, and binary files. Most commands that
>  generate patches now take the --git option, or it can be enabled
>  globally in .hgrc by adding git = True to the [diff] section."
> 
> 1. Why isn't git diff format the default? I'm not sure there was any
>   way of knowing this config is required without breaking things a
>   few times.
> 
> 2. Do I lose any functionality by globally enabling this? (Before I
>   tell all developers to make this change.)

I think the main reason is that the git format isn't fully compatible
with plain patch (though it is for diffs that don't contain copies or
empty or binary files, I believe). This is a problem for, among other
things, older versions of mercurial.

You shouldn't lose anything by enabling it, but you'd probably have to
run tip everywhere to get the benefit. Hopefully 0.9.2 will be out
soon.


More information about the Mercurial mailing list