# HG changeset patch # User Matt Mackall # Date 1425583317 21600 # Node ID abcb1ee3b20a42de1937e6a553126fad728da15d # Parent d2de20e1451fc093f10ff01394883c3512a3d388 check-code: allow disabling msys path check diff -r d2de20e1451f -r abcb1ee3b20a contrib/check-code.py --- 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), diff -r d2de20e1451f -r abcb1ee3b20a tests/test-pull.t --- 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.