Show More
@@ -596,7 +596,7 b' def nearestrebased(repo, rev, state):' | |||||
596 | rebased = [r for r in state if state[r] > nullmerge] |
|
596 | rebased = [r for r in state if state[r] > nullmerge] | |
597 | candidates = repo.revs('max(%ld and (::%d))', rebased, rev) |
|
597 | candidates = repo.revs('max(%ld and (::%d))', rebased, rev) | |
598 | if candidates: |
|
598 | if candidates: | |
599 |
return state[candidates |
|
599 | return state[candidates.first()] | |
600 | else: |
|
600 | else: | |
601 | return None |
|
601 | return None | |
602 |
|
602 |
General Comments 0
You need to be logged in to leave comments.
Login now