--- a/tests/test-subrepo-recursion.t Wed Apr 22 15:53:03 2015 -0700
+++ b/tests/test-subrepo-recursion.t Mon May 04 22:33:29 2015 -0400
@@ -434,6 +434,18 @@
cloning subrepo foo/bar from $TESTTMP/repo/foo/bar (glob)
#endif
+Archive + subrepos uses '/' for all component separators
+
+ $ tar -tzf ../archive.tar.gz | sort
+ archive/.hg_archival.txt
+ archive/.hgsub
+ archive/.hgsubstate
+ archive/foo/.hgsub
+ archive/foo/.hgsubstate
+ archive/foo/bar/z.txt
+ archive/foo/y.txt
+ archive/x.txt
+
The newly cloned subrepos contain no working copy:
$ hg -R foo summary