changeset 25153:1929d9c84028

test-treemanifest: add globs for Windows
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 18 May 2015 11:37:29 -0400
parents ac2e66f481c9
children 7b3feaa1ee3f
files tests/test-treemanifest.t
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-treemanifest.t	Sat May 16 14:37:24 2015 -0400
+++ b/tests/test-treemanifest.t	Mon May 18 11:37:29 2015 -0400
@@ -46,12 +46,12 @@
   $ 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
@@ -59,7 +59,7 @@
   $ 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
@@ -69,8 +69,8 @@
 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
@@ -82,12 +82,12 @@
   $ 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())