Show More
@@ -1650,7 +1650,9 b' def buildstate(repo, destmap, collapse):' | |||||
1650 | roots = list(repo.set('roots(%ld)', sortedsrc[0])) |
|
1650 | roots = list(repo.set('roots(%ld)', sortedsrc[0])) | |
1651 | if not roots: |
|
1651 | if not roots: | |
1652 | raise error.Abort(_('no matching revisions')) |
|
1652 | raise error.Abort(_('no matching revisions')) | |
1653 | roots.sort() |
|
1653 | def revof(r): | |
|
1654 | return r.rev() | |||
|
1655 | roots = sorted(roots, key=revof) | |||
1654 | state = dict.fromkeys(rebaseset, revtodo) |
|
1656 | state = dict.fromkeys(rebaseset, revtodo) | |
1655 | emptyrebase = (len(sortedsrc) == 1) |
|
1657 | emptyrebase = (len(sortedsrc) == 1) | |
1656 | for root in roots: |
|
1658 | for root in roots: |
General Comments 0
You need to be logged in to leave comments.
Login now