check-code: re-add check for missing glob
authorSimon Heimberg <simohe@besonet.ch>
Fri, 01 Mar 2013 00:59:22 +0100
changeset 18834 1a4a939a6b90
parent 18833 b1a42a6087ca
child 18835 4e7498a586e8
check-code: re-add check for missing glob As suggested by mpm reintroducing this test failure on windows is prevented by a code-check. One line in a unix test is ignored. This pattern matches 20 windows glob lines.
contrib/check-code.py
--- a/contrib/check-code.py	Fri Mar 01 00:03:51 2013 +0100
+++ b/contrib/check-code.py	Fri Mar 01 00:59:22 2013 +0100
@@ -104,6 +104,7 @@
     (uprefix + r'\s', "don't indent commands, use > for continued lines"),
     (r'^  saved backup bundle to \$TESTTMP.*\.hg$', winglobmsg),
     (r'^  changeset .* references (corrupted|missing) \$TESTTMP/.*[^)]$', winglobmsg),
+    (r'^  pulling from \$TESTTMP/.*[^)]$', winglobmsg, '\$TESTTMP/unix-repo$'),
   ],
   # warnings
   [