##// END OF EJS Templates
revset: drop unreachable code
Bryan O'Sullivan -
r16859:eeb464ed default
parent child Browse files
Show More
@@ -1348,7 +1348,7 b' def optimize(x, small):'
1348 '-' + getstring(x[1], _("can't negate that"))), small)
1348 '-' + getstring(x[1], _("can't negate that"))), small)
1349 elif op in 'string symbol negate':
1349 elif op in 'string symbol negate':
1350 return smallbonus, x # single revisions are small
1350 return smallbonus, x # single revisions are small
1351 elif op == 'and' or op == 'dagrange':
1351 elif op == 'and':
1352 wa, ta = optimize(x[1], True)
1352 wa, ta = optimize(x[1], True)
1353 wb, tb = optimize(x[2], True)
1353 wb, tb = optimize(x[2], True)
1354 w = min(wa, wb)
1354 w = min(wa, wb)
General Comments 0
You need to be logged in to leave comments. Login now