[PATCH 1 of 3 STABLE] tests: add globs for Windows

Matt Harbison mharbison72 at gmail.com
Fri Dec 1 06:13:58 UTC 2017


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1510421825 18000
#      Sat Nov 11 12:37:05 2017 -0500
# Branch stable
# Node ID e2eb7fb78f36ecf33f6d398fdc38d08940961ac7
# Parent  27196b7fc1acfc78711bc4b721fcc68754354c2c
tests: add globs for Windows

diff --git a/tests/test-amend-subrepo.t b/tests/test-amend-subrepo.t
--- a/tests/test-amend-subrepo.t
+++ b/tests/test-amend-subrepo.t
@@ -58,7 +58,7 @@
 
   $ echo a >> s/a
   $ hg add -R s
-  adding s/a
+  adding s/a (glob)
   $ hg amend
   abort: uncommitted changes in subrepository "s"
   (use --subrepos for recursive commit)
diff --git a/tests/test-audit-subrepo.t b/tests/test-audit-subrepo.t
--- a/tests/test-audit-subrepo.t
+++ b/tests/test-audit-subrepo.t
@@ -9,7 +9,7 @@
   $ hg init sub/.hg
   $ echo 'sub/.hg = sub/.hg' >> .hgsub
   $ hg ci -qAm 'add subrepo "sub/.hg"'
-  abort: path 'sub/.hg' is inside nested repo 'sub'
+  abort: path 'sub/.hg' is inside nested repo 'sub' (glob)
   [255]
 
 prepare tampered repo (including the commit above):
@@ -33,7 +33,7 @@
 on clone (and update):
 
   $ hg clone -q hgname hgname2
-  abort: path 'sub/.hg' is inside nested repo 'sub'
+  abort: path 'sub/.hg' is inside nested repo 'sub' (glob)
   [255]
 
 Test direct symlink traversal


More information about the Mercurial-devel mailing list