Patchwork [2,of,3] check-code: drop the rules for adding (glob) for Windows paths

mail settings
Submitter Matt Harbison
Date Dec. 11, 2017, 5:09 a.m.
Message ID <2cb32998a00989f2abab.1512968959@Envy>
Download mbox | patch
Permalink /patch/26207/
State Accepted
Headers show


Matt Harbison - Dec. 11, 2017, 5:09 a.m.
# HG changeset patch
# User Matt Harbison <>
# Date 1512963935 18000
#      Sun Dec 10 22:45:35 2017 -0500
# Node ID 2cb32998a00989f2abab3a4bf330ab6a13bb5cec
# Parent  e4c1d9c1ec94052a062c91f1b4570fabf5ed8bd2
check-code: drop the rules for adding (glob) for Windows paths

I'll probably resurrect at least some of these as replacement patterns to switch
'\' to '/' when creating tests at some point.  But since this subset of globs
isn't needed anymore after dfae14354660, and the rules are blocking the glob
removal, just drop them for now.  It probably isn't worth turning them into
checks for unnecessary globs being present.


diff --git a/contrib/ b/contrib/
--- a/contrib/
+++ b/contrib/
@@ -182,18 +182,6 @@ 
     (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite "
      "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx
      '# no-msys'), # in test-pull.t which is skipped on windows
-    (r'^  saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
-    (r'^  changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$',
-     winglobmsg),
-    (r'^  pulling from \$TESTTMP/.*[^)]$', winglobmsg,
-     '\$TESTTMP/unix-repo$'), # in test-issue1802.t which skipped on windows
-    (r'^  reverting (?!subrepo ).*/.*[^)]$', winglobmsg),
-    (r'^  cloning subrepo \S+/.*[^)]$', winglobmsg),
-    (r'^  pushing to \$TESTTMP/.*[^)]$', winglobmsg),
-    (r'^  pushing subrepo \S+/\S+ to.*[^)]$', winglobmsg),
-    (r'^  moving \S+/.*[^)]$', winglobmsg),
-    (r'^  no changes made to subrepo since.*/.*[^)]$', winglobmsg),
-    (r'^  .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg),
     (r'^  .*file://\$TESTTMP',
      'write "file:/*/$TESTTMP" + (glob) to match on windows too'),
     (r'^  [^$>].*27\.0\.0\.1',