[PATCH 3 of 3] code-check: check for missing glob after a filename output fixed in 9ad13296c5

Simon Heimberg simohe at besonet.ch
Wed Mar 6 23:57:54 CST 2013


# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1362095962 -3600
# Node ID e9bed09498d829e89ade64b504e6a649c0a5e2c4
# Parent  8f4f22db22c360b1f6418230852f6b5eb06d3eb2
code-check: check for missing glob after a filename output fixed in 9ad13296c5

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.

diff -r 8f4f22db22c3 -r e9bed09498d8 contrib/check-code.py
--- a/contrib/check-code.py	Fre Mär 01 00:03:51 2013 +0100
+++ b/contrib/check-code.py	Fre Mär 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
   [


More information about the Mercurial-devel mailing list