# HG changeset patch # User Matt Mackall # Date 1285011396 18000 # Node ID b016fc1c0862a1e831d6b98bd67e2c24cf8caa52 # Parent 6a6149487817a5b8d4bb081cd36cfda3cdb9760d tests: add hack to avoid problem with graphlog in unified tests diff -r 6a6149487817 -r b016fc1c0862 tests/run-tests.py --- a/tests/run-tests.py Mon Sep 20 14:32:21 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