changeset 24205:abcb1ee3b20a

check-code: allow disabling msys path check
author Matt Mackall <mpm@selenic.com>
date Thu, 05 Mar 2015 13:21:57 -0600
parents d2de20e1451f
children 13c1e66f9653
files contrib/check-code.py tests/test-pull.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.