comparison contrib/check-code.py @ 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 30b016ef4bd8
children 58682838f8f7
comparison
equal deleted inserted replaced
24204:d2de20e1451f 24205:abcb1ee3b20a
151 "explicit exit code checks unnecessary"), 151 "explicit exit code checks unnecessary"),
152 (uprefix + r'set -e', "don't use set -e"), 152 (uprefix + r'set -e', "don't use set -e"),
153 (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"), 153 (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"),
154 (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite " 154 (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite "
155 "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx 155 "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx
156 'hg pull -q file:../test'), # in test-pull.t which is skipped on windows 156 '# no-msys'), # in test-pull.t which is skipped on windows
157 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg), 157 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
158 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$', 158 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$',
159 winglobmsg), 159 winglobmsg),
160 (r'^ pulling from \$TESTTMP/.*[^)]$', winglobmsg, 160 (r'^ pulling from \$TESTTMP/.*[^)]$', winglobmsg,
161 '\$TESTTMP/unix-repo$'), # in test-issue1802.t which skipped on windows 161 '\$TESTTMP/unix-repo$'), # in test-issue1802.t which skipped on windows