# HG changeset patch # User Matt Mackall # Date 1285011396 18000 # Node ID 234c4314c6a42f5cec8f614078601085e54d7d9c # Parent 9cc90e2c826f1be4a27cfcb7268dc5a7ef0aa322 tests: add hack to avoid problem with graphlog in unified tests [ original upstream message ] diff -r 9cc90e2c826f -r 234c4314c6a4 tests/run-tests.py --- a/tests/run-tests.py Thu Sep 16 17:51:32 2010 -0500 +++ b/tests/run-tests.py Mon Sep 20 14:36:36 2010 -0500 @@ -503,6 +503,9 @@ def rematch(el, l): try: + # hack to deal with graphlog, which looks like bogus regexes + if el.startswith('|'): + el = '\\' + el return re.match(el, l) except re.error: # el is an invalid regex