check-code: allow disabling msys path check
authorMatt Mackall <mpm@selenic.com>
Thu, 05 Mar 2015 13:21:57 -0600
changeset 24205 abcb1ee3b20a
parent 24204 d2de20e1451f
child 24206 13c1e66f9653
check-code: allow disabling msys path check
contrib/check-code.py
tests/test-pull.t
--- a/contrib/check-code.py	Thu Jan 08 23:05:45 2015 +0900
+++ b/contrib/check-code.py	Thu Mar 05 13:21:57 2015 -0600
@@ -153,7 +153,7 @@
     (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"),
     (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
-     'hg pull -q file:../test'), # in test-pull.t which is skipped on windows
+     '# 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),
--- a/tests/test-pull.t	Thu Jan 08 23:05:45 2015 +0900
+++ b/tests/test-pull.t	Thu Mar 05 13:21:57 2015 -0600
@@ -76,7 +76,7 @@
   abort: file:// URLs can only refer to localhost
   [255]
 
-  $ hg pull -q file:../test
+  $ hg pull -q file:../test  # no-msys
 
 It's tricky to make file:// URLs working on every platform with
 regular shell commands.