comparison contrib/check-code.py @ 20423:ada289dfceb0

tests: rewrite path in test-shelve.t for not being mangled on msys msys (on windows) converets '-R bundle:.XX/XX' to '-R bundle:;.XX/XX'. Avoid this by writing '-R bundle://.XX/XX'. This is used more often than the alternative work arounds like '-Rbundle://.XX/XX' or '-R bundle:Y/../.XX/XX'.
author Simon Heimberg <simohe@besonet.ch>
date Mon, 10 Feb 2014 22:56:10 +0100
parents cc09cfea3dd4
children ea005e754c9c
comparison
equal deleted inserted replaced
20421:98eadbfffa0e 20423:ada289dfceb0
148 (uprefix + r'.*(?<!\[)\$\?', "explicit exit code checks unnecessary"), 148 (uprefix + r'.*(?<!\[)\$\?', "explicit exit code checks unnecessary"),
149 (uprefix + r'.*\|\| echo.*(fail|error)', 149 (uprefix + r'.*\|\| echo.*(fail|error)',
150 "explicit exit code checks unnecessary"), 150 "explicit exit code checks unnecessary"),
151 (uprefix + r'set -e', "don't use set -e"), 151 (uprefix + r'set -e', "don't use set -e"),
152 (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"), 152 (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"),
153 (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite "
154 "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx
155 'hg pull -q file:../test'), # in test-pull.t which is skipped on windows
153 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg), 156 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
154 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$', 157 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$',
155 winglobmsg), 158 winglobmsg),
156 (r'^ pulling from \$TESTTMP/.*[^)]$', winglobmsg, 159 (r'^ pulling from \$TESTTMP/.*[^)]$', winglobmsg,
157 '\$TESTTMP/unix-repo$'), # in test-issue1802.t which skipped on windows 160 '\$TESTTMP/unix-repo$'), # in test-issue1802.t which skipped on windows