tests/test-subrepo.t
changeset 14361 ea7081645987
parent 14281 ccb7240acf32
parent 14360 ab687820c4cc
child 14525 826a13720fbc
--- a/tests/test-subrepo.t	Wed May 18 15:45:57 2011 +0200
+++ b/tests/test-subrepo.t	Wed May 18 19:22:55 2011 +0200
@@ -635,6 +635,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: