Mercurial > public > mercurial-scm > hg-stable
diff tests/test-subrepo.t @ 14360:ab687820c4cc stable
subrepo: respect non-default path for incoming/outgoing
Push and pull set repo._subtoppath before pushing or pulling subrepos.
The incoming and outgoing commands needed to do the same.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Wed, 18 May 2011 15:13:26 +0200 |
parents | 0748e18be470 |
children | ea7081645987 |
line wrap: on
line diff
--- a/tests/test-subrepo.t Wed May 18 09:31:19 2011 +0200 +++ b/tests/test-subrepo.t Wed May 18 15:13:26 2011 +0200 @@ -660,6 +660,26 @@ adding file changes added 1 changesets with 1 changes to 1 files +Incoming and outgoing should not use the default path: + + $ hg clone -q issue1852a issue1852d + $ hg -R issue1852d outgoing --subrepos issue1852c + comparing with issue1852c + searching for changes + no changes found + comparing with issue1852c/sub/repo + searching for changes + no changes found + [1] + $ hg -R issue1852d incoming --subrepos issue1852c + comparing with issue1852c + searching for changes + no changes found + comparing with issue1852c/sub/repo + searching for changes + no changes found + [1] + Check status of files when none of them belong to the first subrepository: