[PATCH 3 of 3] subrepo: add partial diff support for git subrepos
Matt Harbison
matt_harbison at yahoo.com
Thu Dec 11 21:50:53 CST 2014
On Wed, 10 Dec 2014 04:48:48 -0500, Mathias De Maré
<mathias.demare at gmail.com> wrote:
> # HG changeset patch
> # User Mathias De Maré <mathias.demare at gmail.com>
> # 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
More information about the Mercurial-devel
mailing list