[PATCH 2 of 2] The graphlog extension no longer uses the short option (-g)

Matt Mackall mpm at selenic.com
Sun Feb 15 11:34:55 CST 2009


On Thu, 2009-02-12 at 15:31 +0000, Alpár Jüttner wrote:
> On Thu, 2009-02-12 at 15:47 +0100, Dirkjan Ochtman wrote:
> > On Thu, Feb 12, 2009 at 14:56, Alpár Jüttner <alpar at cs.elte.hu> wrote:
> > > By the way, is there any reason why --git is not the default setting in
> > > hg?
> > 
> > This is explained in hg help diffs.
> 
> I do not agree with that argument.
> 
> By the way, I've just tried to feed the 'patch' command (version 2.5.9)
> with a diff made by mercurial with and without --git and the result is
> exactly the _same_ for 'patch' simply skips the parts it cannot
> interpret.
> 
> Thus I would ask: is there any major the tool that can extract more from
> the standard diff format than from git's extended version?

Damn it, people, engage your brains. Or, failing that, read the
archives. Obviously patch cannot correctly apply a git patch with a
rename. And obviously it WORKS with a normal patch.

If you exported a JPEG in GIMP and got something you couldn't load in
your web browser, you would rightly consider GIMP to be broken. That the
completely useless non-standard JPEG happened to preserve all your
layers would matter not.

Similarly, patch is the gold standard we measure our exported diffs by.
End of story.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list