comparison contrib/check-code.py @ 19123:a91894c8064a

check-code: add more path sep glob checks
author Matt Mackall <mpm@selenic.com>
date Thu, 02 May 2013 15:21:47 -0500
parents 12f15e4b2ca0
children 101b80eb7364
comparison
equal deleted inserted replaced
19122:83973dc1bfe9 19123:a91894c8064a
107 (uprefix + r'\s', "don't indent commands, use > for continued lines"), 107 (uprefix + r'\s', "don't indent commands, use > for continued lines"),
108 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg), 108 (r'^ saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
109 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$', 109 (r'^ changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$',
110 winglobmsg), 110 winglobmsg),
111 (r'^ pulling from \$TESTTMP/.*[^)]$', winglobmsg, '\$TESTTMP/unix-repo$'), 111 (r'^ pulling from \$TESTTMP/.*[^)]$', winglobmsg, '\$TESTTMP/unix-repo$'),
112 (r'^ reverting .*/.*[^)]$', winglobmsg, '\$TESTTMP/unix-repo$'),
113 (r'^ cloning subrepo \S+/.*[^)]$', winglobmsg, '\$TESTTMP/unix-repo$'),
114 (r'^ pushing to \$TESTTMP/.*[^)]$', winglobmsg, '\$TESTTMP/unix-repo$'),
115 (r'^ no changes made to subrepo since.*/.*[^)]$',
116 winglobmsg, '\$TESTTMP/unix-repo$'),
117 (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$',
118 winglobmsg, '\$TESTTMP/unix-repo$'),
112 ], 119 ],
113 # warnings 120 # warnings
114 [ 121 [
115 (r'^ [^*?/\n]* \(glob\)$', 122 (r'^ [^*?/\n]* \(glob\)$',
116 "warning: glob match with no glob character (?*/)"), 123 "warning: glob match with no glob character (?*/)"),