[PATCH 1 of 2] test-treemanifest: add globs for Windows

Matt Harbison matt_harbison at yahoo.com
Mon May 18 11:09:48 CDT 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1431963449 14400
#      Mon May 18 11:37:29 2015 -0400
# Node ID 8f1197ce881d98cd5cc9264230bf56667ba48970
# Parent  e632a2429982fca1251ef65099bdd3668fa4f58a
test-treemanifest: add globs for Windows

diff --git a/tests/test-treemanifest.t b/tests/test-treemanifest.t
--- a/tests/test-treemanifest.t
+++ b/tests/test-treemanifest.t
@@ -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 .hg/store/meta/dir1/00manifest.i > before
   $ hg ci -qm 'add dir2'
   $ hg debugindex .hg/store/meta/dir1/00manifest.i > 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 .hg/store/meta/dir1/dir1/00manifest.i > before
   $ hg ci -qm 'remove dir1/dir1'
   $ hg debugindex .hg/store/meta/dir1/dir1/00manifest.i > 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())
 


More information about the Mercurial-devel mailing list