Mercurial > public > mercurial-scm > hg
diff contrib/check-code.py @ 17111:bddf1220d7a2
check-code: verify that 'saved backup bundle to ...' is '(glob)'ed
This is the most frequent trivial reason tests fail on Windows.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 05 Jul 2012 00:49:26 +0200 |
parents | 91284af53508 |
children | 5f131ae05905 |
line wrap: on
line diff
--- a/contrib/check-code.py Thu Jul 05 00:35:42 2012 +0200 +++ b/contrib/check-code.py Thu Jul 05 00:49:26 2012 +0200 @@ -100,6 +100,8 @@ "explicit exit code checks unnecessary"), (uprefix + r'set -e', "don't use set -e"), (uprefix + r'\s', "don't indent commands, use > for continued lines"), + (r'^ saved backup bundle to \$TESTTMP.*\.hg$', + "use (glob) to match Windows paths too"), ], # warnings []