From patchwork Fri Dec 12 03:50:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [3,of,3] subrepo: add partial diff support for git subrepos From: Matt Harbison X-Patchwork-Id: 7063 Message-Id: To: =?utf-8?Q?Mathias_De_Mar=C3=A9?= , "mercurial-devel@selenic.com" Date: Thu, 11 Dec 2014 22:50:53 -0500 On Wed, 10 Dec 2014 04:48:48 -0500, Mathias De Maré wrote: > # HG changeset patch > # User Mathias De Maré > # Date 1418203971 -3600 > # Mit Dez 10 10:32:51 2014 +0100 > # Node ID 94fe82410ecaa9573c5b54c25e340713eb53b32d > # Parent 239ccaaed78095a128fde4b1421de3d997068c6f > subrepo: add partial diff support for git subrepos > I'm getting this test diff on Fedora 16 with git 1.7.7.6. Not sure if this varies by git version or something else. --- /home/matt/hg/tests/test-subrepo-git.t +++ /home/matt/hg/tests/test-subrepo-git.t.err @@ -773,9 +773,9 @@ bar (no-eol) $ hg diff --subrepos --stat - barfoo | 1 + - foobar | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) (no-eol) + barfoo | 1 + + foobar | 2 +- + 2 files changed, 2 insertions(+), 1 deletions(-) (no-eol) ensure adding include/exclude ignores the subrepo $ hg diff --subrepos -I s/foobar