##// END OF EJS Templates
revset: fix - handling in the optimizer
Matt Mackall -
r11283:a6356b26 default
parent child Browse files
Show More
@@ -486,7 +486,7 b' def optimize(x, small):'
486 smallbonus = .5
486 smallbonus = .5
487
487
488 op = x[0]
488 op = x[0]
489 if op == '-':
489 if op == 'minus':
490 return optimize(('and', x[1], ('not', x[2])), small)
490 return optimize(('and', x[1], ('not', x[2])), small)
491 elif op == 'dagrange':
491 elif op == 'dagrange':
492 return optimize(('and', ('func', ('symbol', 'descendants'), x[1]),
492 return optimize(('and', ('func', ('symbol', 'descendants'), x[1]),
General Comments 0
You need to be logged in to leave comments. Login now