[PATCH] run-test: fixed wrong parenthesis
Erik Zielke
ez at aragost.com
Mon Nov 8 03:57:25 CST 2010
# HG changeset patch
# User Erik Zielke <ez at aragost.com>
# Date 1289210207 -3600
# Branch stable
# Node ID d6d27c68498f7d9a39f4d6bb250f68f8f4bf607e
# Parent 7439ea4146f850b11856683bc72766fe878d1a50
run-test: fixed wrong parenthesis
Fixed wrong placement of end parenthesis, from b911cb80c671
diff -r 7439ea4146f8 -r d6d27c68498f tests/run-tests.py
--- a/tests/run-tests.py Mon Nov 08 01:41:42 2010 +0100
+++ b/tests/run-tests.py Mon Nov 08 10:56:47 2010 +0100
@@ -556,8 +556,9 @@
postout.append(" " + lout)
elif (el and
(el.endswith(" (re)\n") and rematch(el[:-6] + '\n', lout) or
- el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', lout)) or
- el.endswith(" (esc)\n") and el.decode('string-escape') == l):
+ el.endswith(" (glob)\n") and globmatch(el[:-8] + '\n', lout)
+ or el.endswith(" (esc)\n") and
+ el.decode('string-escape') == l)):
postout.append(" " + el) # fallback regex/glob/esc match
else:
if needescape(lout):
More information about the Mercurial-devel
mailing list