test-treemanifest: add globs for Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 27 May 2015 12:14:10 -0400
changeset 25371 4f07fb1d7fbbf3e07f8f41bf87377acae747684f
parent 25370 3f6b54ef4d41241a2b949cd81e15f761868c33ef
child 25372 678d0bfdd31a1f74fddc399c3ee07013efa9a652
push id14
push usergszorc@mozilla.com
push dateMon, 22 Jun 2015 07:28:19 +0000
test-treemanifest: add globs for Windows
tests/test-treemanifest.t
--- a/tests/test-treemanifest.t
+++ b/tests/test-treemanifest.t
@@ -308,72 +308,72 @@ Create deeper repo with tree manifests.
   $ hg ci -Aqm 'initial'
 
 We'll see that visitdir works by removing some treemanifest revlogs and running
 the files command with various parameters.
 
 Test files from the root.
 
   $ hg files -r .
-  a/one.txt
-  a/two.txt
-  b/bar/fruits.txt
-  b/bar/orange/fly/gnat.py
-  b/bar/orange/fly/housefly.txt
-  b/foo/apple/bees/flower.py
+  a/one.txt (glob)
+  a/two.txt (glob)
+  b/bar/fruits.txt (glob)
+  b/bar/orange/fly/gnat.py (glob)
+  b/bar/orange/fly/housefly.txt (glob)
+  b/foo/apple/bees/flower.py (glob)
   c.txt
   d.py
 
 Test files for a subdirectory.
 
   $ mv .hg/store/meta/a oldmf
   $ hg files -r . b
-  b/bar/fruits.txt
-  b/bar/orange/fly/gnat.py
-  b/bar/orange/fly/housefly.txt
-  b/foo/apple/bees/flower.py
+  b/bar/fruits.txt (glob)
+  b/bar/orange/fly/gnat.py (glob)
+  b/bar/orange/fly/housefly.txt (glob)
+  b/foo/apple/bees/flower.py (glob)
   $ mv oldmf .hg/store/meta/a
 
 Test files with just includes and excludes.
 
   $ mv .hg/store/meta/a oldmf
   $ mv .hg/store/meta/b/bar/orange/fly oldmf2
   $ mv .hg/store/meta/b/foo/apple/bees oldmf3
   $ hg files -r . -I b/bar -X b/bar/orange/fly -I b/foo -X b/foo/apple/bees
-  b/bar/fruits.txt
+  b/bar/fruits.txt (glob)
   $ mv oldmf .hg/store/meta/a
   $ mv oldmf2 .hg/store/meta/b/bar/orange/fly
   $ mv oldmf3 .hg/store/meta/b/foo/apple/bees
 
 Test files for a subdirectory, excluding a directory within it.
 
   $ mv .hg/store/meta/a oldmf
   $ mv .hg/store/meta/b/foo oldmf2
   $ hg files -r . -X b/foo b
-  b/bar/fruits.txt
-  b/bar/orange/fly/gnat.py
-  b/bar/orange/fly/housefly.txt
+  b/bar/fruits.txt (glob)
+  b/bar/orange/fly/gnat.py (glob)
+  b/bar/orange/fly/housefly.txt (glob)
   $ mv oldmf .hg/store/meta/a
   $ mv oldmf2 .hg/store/meta/b/foo
 
 Test files for a sub directory, including only a directory within it, and
 including an unrelated directory.
 
   $ mv .hg/store/meta/a oldmf
   $ mv .hg/store/meta/b/foo oldmf2
   $ hg files -r . -I b/bar/orange -I a b
-  b/bar/orange/fly/gnat.py
-  b/bar/orange/fly/housefly.txt
+  b/bar/orange/fly/gnat.py (glob)
+  b/bar/orange/fly/housefly.txt (glob)
   $ mv oldmf .hg/store/meta/a
   $ mv oldmf2 .hg/store/meta/b/foo
 
 Test files for a pattern, including a directory, and excluding a directory
 within that.
 
   $ mv .hg/store/meta/a oldmf
   $ mv .hg/store/meta/b/foo oldmf2
   $ mv .hg/store/meta/b/bar/orange oldmf3
   $ hg files -r . glob:**.txt -I b/bar -X b/bar/orange
-  b/bar/fruits.txt
+  b/bar/fruits.txt (glob)
   $ mv oldmf .hg/store/meta/a
   $ mv oldmf2 .hg/store/meta/b/foo
   $ mv oldmf3 .hg/store/meta/b/bar/orange