tests/test-subrepo.t
changeset 21041 a2cc3c08c3ac
parent 21024 7731a2281cf0
child 21391 cb15835456cb
--- 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