test-treemanifest: add globs for Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 18 May 2015 11:37:29 -0400
changeset 25215 1929d9c840285b7033b4b13b69a8f0128a57c914
parent 25214 ac2e66f481c99e0ee0b8c4eedb8e64925269b367
child 25216 7b3feaa1ee3fc07614f70db8b82f7ec5bb439a0f
push id13
push usergszorc@mozilla.com
push dateTue, 26 May 2015 00:39:25 +0000
test-treemanifest: add globs for Windows
tests/test-treemanifest.t
--- a/tests/test-treemanifest.t
+++ b/tests/test-treemanifest.t
@@ -41,58 +41,58 @@ Can add nested directories
   $ echo 2 > dir1/dir1/b
   $ mkdir dir1/dir2
   $ echo 2 > dir1/dir2/a
   $ echo 2 > dir1/dir2/b
   $ hg ci -Aqm 'add dir1/dir1'
   $ hg files -r .
   a
   b
-  dir1/a
-  dir1/b
-  dir1/dir1/a
-  dir1/dir1/b
-  dir1/dir2/a
-  dir1/dir2/b
+  dir1/a (glob)
+  dir1/b (glob)
+  dir1/dir1/a (glob)
+  dir1/dir1/b (glob)
+  dir1/dir2/a (glob)
+  dir1/dir2/b (glob)
   e
 
 Revision is not created for unchanged directory
 
   $ mkdir dir2
   $ echo 3 > dir2/a
   $ hg add dir2
-  adding dir2/a
+  adding dir2/a (glob)
   $ hg debugindex --dir dir1 > before
   $ hg ci -qm 'add dir2'
   $ hg debugindex --dir dir1 > after
   $ diff before after
   $ rm before after
 
 Removing directory does not create an revlog entry
 
   $ hg rm dir1/dir1
-  removing dir1/dir1/a
-  removing dir1/dir1/b
+  removing dir1/dir1/a (glob)
+  removing dir1/dir1/b (glob)
   $ hg debugindex --dir dir1/dir1 > before
   $ hg ci -qm 'remove dir1/dir1'
   $ hg debugindex --dir dir1/dir1 > after
   $ diff before after
   $ rm before after
 
 Check that hg files (calls treemanifest.walk()) works
 
   $ hg co 'desc("add dir2")'
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg files -r . dir1
-  dir1/a
-  dir1/b
-  dir1/dir1/a
-  dir1/dir1/b
-  dir1/dir2/a
-  dir1/dir2/b
+  dir1/a (glob)
+  dir1/b (glob)
+  dir1/dir1/a (glob)
+  dir1/dir1/b (glob)
+  dir1/dir2/a (glob)
+  dir1/dir2/b (glob)
 
 Check that status between revisions works (calls treemanifest.matches())
 
   $ hg status --rev 'desc("add dir1")' --rev . dir1
   A dir1/dir1/a
   A dir1/dir1/b
   A dir1/dir2/a
   A dir1/dir2/b