Show More
@@ -1035,7 +1035,14 b' def bisect(' | |||||
1035 | state = hbisect.load_state(repo) |
|
1035 | state = hbisect.load_state(repo) | |
1036 |
|
1036 | |||
1037 | if rev: |
|
1037 | if rev: | |
1038 |
|
|
1038 | revs = logcmdutil.revrange(repo, rev) | |
|
1039 | goodnodes = state[b'good'] | |||
|
1040 | badnodes = state[b'bad'] | |||
|
1041 | if goodnodes and badnodes: | |||
|
1042 | candidates = repo.revs(b'(%ln)::(%ln)', goodnodes, badnodes) | |||
|
1043 | candidates += repo.revs(b'(%ln)::(%ln)', badnodes, goodnodes) | |||
|
1044 | revs = candidates & revs | |||
|
1045 | nodes = [repo.changelog.node(i) for i in revs] | |||
1039 | else: |
|
1046 | else: | |
1040 | nodes = [repo.lookup(b'.')] |
|
1047 | nodes = [repo.lookup(b'.')] | |
1041 |
|
1048 |
@@ -784,7 +784,6 b' user adds irrelevant but consistent info' | |||||
784 | $ hg log -q -r 'bisect(pruned)' |
|
784 | $ hg log -q -r 'bisect(pruned)' | |
785 | 0:33b1f9bc8bc5 |
|
785 | 0:33b1f9bc8bc5 | |
786 | 1:4ca5088da217 |
|
786 | 1:4ca5088da217 | |
787 | 2:051e12f87bf1 |
|
|||
788 | 8:dab8161ac8fc |
|
787 | 8:dab8161ac8fc | |
789 | 11:82ca6f06eccd |
|
788 | 11:82ca6f06eccd | |
790 | 12:9f259202bbe7 |
|
789 | 12:9f259202bbe7 |
General Comments 0
You need to be logged in to leave comments.
Login now