Show More
@@ -1035,7 +1035,14 def bisect( | |||
|
1035 | 1035 | state = hbisect.load_state(repo) |
|
1036 | 1036 | |
|
1037 | 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 | 1046 | else: |
|
1040 | 1047 | nodes = [repo.lookup(b'.')] |
|
1041 | 1048 |
General Comments 0
You need to be logged in to leave comments.
Login now