##// END OF EJS Templates
bisect: no need to save the state if it wasn't changed
Benoit Boissinot -
r9689:57cee011 default
parent child Browse files
Show More
@@ -370,14 +370,14 b' def bisect(ui, repo, rev=None, extra=Non'
370
370
371 # update state
371 # update state
372 node = repo.lookup(rev or '.')
372 node = repo.lookup(rev or '.')
373 if good:
373 if good or bad or skip:
374 state['good'].append(node)
374 if good:
375 elif bad:
375 state['good'].append(node)
376 state['bad'].append(node)
376 elif bad:
377 elif skip:
377 state['bad'].append(node)
378 state['skip'].append(node)
378 elif skip:
379
379 state['skip'].append(node)
380 hbisect.save_state(repo, state)
380 hbisect.save_state(repo, state)
381
381
382 if not check_state(state):
382 if not check_state(state):
383 return
383 return
General Comments 0
You need to be logged in to leave comments. Login now