Mercurial > hg
changeset 11283:a6356b2695a3
revset: fix - handling in the optimizer
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 04 Jun 2010 10:26:55 -0500 |
parents | e581f3acc338 |
children | 0b5c2e82aeb5 |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Thu Jun 03 20:32:41 2010 -0500 +++ b/mercurial/revset.py Fri Jun 04 10:26:55 2010 -0500 @@ -486,7 +486,7 @@ smallbonus = .5 op = x[0] - if op == '-': + if op == 'minus': return optimize(('and', x[1], ('not', x[2])), small) elif op == 'dagrange': return optimize(('and', ('func', ('symbol', 'descendants'), x[1]),