Show More
@@ -350,10 +350,8 b' def desthistedit(ui, repo):' | |||||
350 | revs = scmutil.revrange(repo, [default]) |
|
350 | revs = scmutil.revrange(repo, [default]) | |
351 |
|
351 | |||
352 | if revs: |
|
352 | if revs: | |
353 | # The revset supplied by the user may not be in ascending order nor |
|
353 | # Take the first revision of the revset as the root | |
354 | # take the first revision. So do this manually. |
|
354 | return revs.min() | |
355 | revs.sort() |
|
|||
356 | return revs.first() |
|
|||
357 |
|
355 | |||
358 | return None |
|
356 | return None | |
359 |
|
357 |
General Comments 0
You need to be logged in to leave comments.
Login now