Show More
@@ -672,17 +672,8 b' def revpair(repo, revs):' | |||
|
672 | 672 | |
|
673 | 673 | l = revrange(repo, revs) |
|
674 | 674 | |
|
675 | if not l: | |
|
676 | first = second = None | |
|
677 | elif l.isascending(): | |
|
678 | first = l.min() | |
|
679 | second = l.max() | |
|
680 | elif l.isdescending(): | |
|
681 | first = l.max() | |
|
682 | second = l.min() | |
|
683 | else: | |
|
684 | first = l.first() | |
|
685 | second = l.last() | |
|
675 | first = l.first() | |
|
676 | second = l.last() | |
|
686 | 677 | |
|
687 | 678 | if first is None: |
|
688 | 679 | raise error.Abort(_('empty revision range')) |
General Comments 0
You need to be logged in to leave comments.
Login now