[PATCH] patchbomb: make --git imply --plain

Augie Fackler raf at durin42.com
Wed Nov 16 17:49:50 EST 2016


> On Nov 16, 2016, at 17:47, Sean Farley <sean at farley.io> wrote:
> 
> Augie Fackler <raf at durin42.com> writes:
> 
>>> On Nov 16, 2016, at 15:41, Henning Schild <henning at hennsch.de> wrote:
>>> 
>>> # HG changeset patch
>>> # User Henning Schild <henning at hennsch.de>
>>> # Date 1479327376 -3600
>>> #      Wed Nov 16 21:16:16 2016 +0100
>>> # Node ID 181aaf02c1542387651e66c22063bb276271ced2
>>> # Parent  db8637a8a7464aca668e5aaa2fb9610edaf6f286
>>> patchbomb: make --git imply --plain
>> 
>> No thanks. --git here is about using the git-diff format, which is still extremely valuable for hg users.
> 
> I'm inclined to agree with Augie here. This is a pretty big format
> change that might potentially break older clients importing a patch. The
> risk / reward ratio doesn't seem strong enough to me. Plus, yes, --git
> everywhere that I can find in Mercurial means git-diff format.

It's even explicitly documented as the diff format, not the email format:
augie% hg help email | grep -- --git
 -g --git                use git extended diff format

> Perhaps this patch (or something similar) belongs in hg-git instead?



More information about the Mercurial-devel mailing list