changeset 16687 | e34106fa0dc3 |
parent 16645 | 9a21fc2c7d32 |
child 16791 | 977c80123835 |
--- a/mercurial/match.py Sat May 12 16:00:57 2012 +0200 +++ b/mercurial/match.py Sat May 12 16:00:58 2012 +0200 @@ -276,7 +276,7 @@ try: pat = '(?:%s)' % '|'.join([_regex(k, p, tail) for (k, p) in pats]) if len(pat) > 20000: - raise OverflowError() + raise OverflowError return pat, re.compile(pat).match except OverflowError: # We're using a Python with a tiny regex engine and we