[PATCH 3 of 5] subrepo: fix hgrc paths section during subrepo pulling

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sat Mar 13 18:46:21 CST 2010


On Sun, Mar 14, 2010 at 12:38:09AM +0100, Edouard Gomez wrote:
> # HG changeset patch
> # User Edouard Gomez <ed.gomez at free.fr>
> # Date 1268522890 -3600
> # Node ID 008024265f7ad417dfcd176e4c5e65a6a86be617
> # Parent  d44b51a2934277fc5eaf194ee1e1e82ca7704f7f
> subrepo: fix hgrc paths section during subrepo pulling
> 

Since Saint Germain added the test, I'd like to have his input. What
should subrepo do in that case (i.e. was your test wrong, or are there
conflicting opinions on what the end result should be)?

(I'm sorry, I don't use that feature enough to have an idea what the
"correct" behaviour should be)

Cheers,

Benoit

> --- a/tests/test-subrepo.out	Sun Mar 14 00:28:10 2010 +0100
> +++ b/tests/test-subrepo.out	Sun Mar 14 00:28:10 2010 +0100
> @@ -263,6 +263,8 @@
>  updating to branch default
>  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
>  [paths]
> -default = $HGTMP/test-subrepo/sub/mercurial/main/nested_absolute
> +default = $HGTMP/test-subrepo/sub/mercurial/nested_absolute
> +default-push = $HGTMP/test-subrepo/sub/mercurial/nested_absolute
>  [paths]
> -default = $HGTMP/test-subrepo/sub/mercurial/main/nested_relative
> +default = $HGTMP/test-subrepo/sub/mercurial/nested_relative
> +default-push = $HGTMP/test-subrepo/sub/mercurial/nested_relative
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-- 
:wq


More information about the Mercurial-devel mailing list