Mercurial > hg
changeset 14722:b6dc362b051c stable
match: fix bug caused by refactoring in cfc89398f710
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Thu, 23 Jun 2011 14:40:57 +0200 |
parents | 4fcde634f5e0 |
children | b9faf94ee196 |
files | mercurial/match.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/match.py Wed Jun 22 15:34:33 2011 +0200 +++ b/mercurial/match.py Thu Jun 23 14:40:57 2011 +0200 @@ -282,8 +282,8 @@ 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: