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