diff -r bdf5ed5246d2 -r a2cc3c08c3ac tests/test-subrepo.t --- a/tests/test-subrepo.t Thu Mar 13 23:45:18 2014 -0400 +++ b/tests/test-subrepo.t Fri Mar 14 21:32:05 2014 -0400 @@ -792,6 +792,19 @@ $ echo test >> sub/repo/foo $ hg ci -mtest committing subrepository sub/repo (glob) + $ hg cat sub/repo/foo + test + test + $ mkdir -p tmp/sub/repo + $ hg cat -r 0 --output tmp/%p_p sub/repo/foo + $ cat tmp/sub/repo/foo_p + test + $ mv sub/repo sub_ + $ hg cat sub/repo/baz + skipping missing subrepository: sub/repo + [1] + $ rm -rf sub/repo + $ mv sub_ sub/repo $ cd .. Create repo without default path, pull top repo, and see what happens on update