--- 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