Henning Schild <henn...@hennsch.de> writes: > Am Wed, 16 Nov 2016 17:41:03 -0500 > schrieb Augie Fackler <r...@durin42.com>: > >> > On Nov 16, 2016, at 15:41, Henning Schild <henn...@hennsch.de> >> > wrote: >> > >> > # HG changeset patch >> > # User Henning Schild <henn...@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. > > Ok. I guess that consequently also means no to the diffstat patch (2 of > 2 out of this thread)? > > Let me see how to fit that change into hg-git. I did not have a look at > how that hooks into hg, but i can imagine a similar patch would be much > harder there - like parsing the mbox. I need that change working with > hg-git for contributing code back to upstream mailing lists. > I can imagine that similar patches would be required for the reverse > operation (hg mimport), but i did not try that way yet.
Since a git mailing list would be only for git clients, it'd be ok to have both import / export in the git style for hg-git. Maybe others feel different than me, though. > How about a new option --git-format that implies --git and --plain and > takes care of the diffstat? We usually shy away from new arguments and instead suggest the improvement of templates which could be used here (maybe they already can, I haven't checked). _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel