From aa36fb062fcb90be633f37ef4c517cb9c2cd37da Mon Sep 17 00:00:00 2001 From: Peter Arrenbrecht Date: Thu, 23 Jun 2011 14:40:57 +0200 Subject: [PATCH] match: fix bug caused by refactoring in fb457d08da0b --- mercurial/match.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mercurial/match.py b/mercurial/match.py index 9854c38ae8..e01b835dc5 100644 --- a/mercurial/match.py +++ b/mercurial/match.py @@ -282,8 +282,8 @@ def _buildregexmatch(pats, tail): l = len(pats) if l < 2: raise - pata, a = _buildmatch(pats[:l//2], tail) - patb, b = _buildmatch(pats[l//2:], tail) + pata, a = _buildregexmatch(pats[:l//2], tail) + patb, b = _buildregexmatch(pats[l//2:], tail) return pat, lambda s: a(s) or b(s) except re.error: for k, p in pats: