Show More
@@ -837,8 +837,6 b' def bisect(ui, repo, rev=None, extra=Non' | |||||
837 | elif extra or good + bad + skip + reset + extend + bool(command) > 1: |
|
837 | elif extra or good + bad + skip + reset + extend + bool(command) > 1: | |
838 | raise error.Abort(_('incompatible arguments')) |
|
838 | raise error.Abort(_('incompatible arguments')) | |
839 |
|
839 | |||
840 | cmdutil.checkunfinished(repo) |
|
|||
841 |
|
||||
842 | if reset: |
|
840 | if reset: | |
843 | hbisect.resetstate(repo) |
|
841 | hbisect.resetstate(repo) | |
844 | return |
|
842 | return | |
@@ -865,6 +863,7 b' def bisect(ui, repo, rev=None, extra=Non' | |||||
865 | """common used update sequence""" |
|
863 | """common used update sequence""" | |
866 | if noupdate: |
|
864 | if noupdate: | |
867 | return |
|
865 | return | |
|
866 | cmdutil.checkunfinished(repo) | |||
868 | cmdutil.bailifchanged(repo) |
|
867 | cmdutil.bailifchanged(repo) | |
869 | return hg.clean(repo, node, show_stats=show_stats) |
|
868 | return hg.clean(repo, node, show_stats=show_stats) | |
870 |
|
869 |
@@ -551,7 +551,14 b' test the same case, this time with updat' | |||||
551 | date: Thu Jan 01 00:00:06 1970 +0000 |
|
551 | date: Thu Jan 01 00:00:06 1970 +0000 | |
552 | summary: msg 6 |
|
552 | summary: msg 6 | |
553 |
|
553 | |||
554 |
|
554 | $ hg graft -q 15 | ||
|
555 | warning: conflicts while merging a! (edit, then use 'hg resolve --mark') | |||
|
556 | abort: unresolved conflicts, can't continue | |||
|
557 | (use 'hg resolve' and 'hg graft --continue') | |||
|
558 | [255] | |||
|
559 | $ hg bisect --reset | |||
|
560 | $ hg up -C . | |||
|
561 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
555 |
|
562 | |||
556 | Check that bisect does not break on obsolete changesets |
|
563 | Check that bisect does not break on obsolete changesets | |
557 | ========================================================= |
|
564 | ========================================================= |
General Comments 0
You need to be logged in to leave comments.
Login now