tests/test-subrepo-deep-nested-change.t
changeset 25195 472a685a4961
parent 25122 755d23a49170
parent 25194 ef4538ba67ef
child 25228 63a57a2727b6
--- a/tests/test-subrepo-deep-nested-change.t	Fri Apr 24 14:30:30 2015 -0700
+++ b/tests/test-subrepo-deep-nested-change.t	Tue May 19 07:17:57 2015 -0500
@@ -232,6 +232,26 @@
   sub1/sub2/sub2 (glob)
   sub1/sub2/test.txt (glob)
 
+  $ hg files -S -r '.^' sub1/sub2/folder
+  sub1/sub2/folder/test.txt (glob)
+
+  $ hg files -S -r '.^' sub1/sub2/missing
+  sub1/sub2/missing: no such file in rev 78026e779ea6 (glob)
+  [1]
+
+  $ hg files -S -r '.^' sub1/
+  sub1/.hgsub (glob)
+  sub1/.hgsubstate (glob)
+  sub1/sub1 (glob)
+  sub1/sub2/folder/test.txt (glob)
+  sub1/sub2/sub2 (glob)
+  sub1/sub2/test.txt (glob)
+
+  $ hg files -S -r '.^' sub1/sub2
+  sub1/sub2/folder/test.txt (glob)
+  sub1/sub2/sub2 (glob)
+  sub1/sub2/test.txt (glob)
+
   $ hg rollback -q
   $ hg up -Cq