Show More
@@ -2517,9 +2517,9 b' def processreplacement(state):' | |||||
2517 | del final[n] |
|
2517 | del final[n] | |
2518 | # we expect all changes involved in final to exist in the repo |
|
2518 | # we expect all changes involved in final to exist in the repo | |
2519 | # turn `final` into list (topologically sorted) |
|
2519 | # turn `final` into list (topologically sorted) | |
2520 |
|
|
2520 | get_rev = state.repo.changelog.index.get_rev | |
2521 | for prec, succs in final.items(): |
|
2521 | for prec, succs in final.items(): | |
2522 |
final[prec] = sorted(succs, key= |
|
2522 | final[prec] = sorted(succs, key=get_rev) | |
2523 |
|
2523 | |||
2524 | # computed topmost element (necessary for bookmark) |
|
2524 | # computed topmost element (necessary for bookmark) | |
2525 | if new: |
|
2525 | if new: |
General Comments 0
You need to be logged in to leave comments.
Login now