equal
deleted
inserted
replaced
495 second = l.max() |
495 second = l.max() |
496 elif l.isdescending(): |
496 elif l.isdescending(): |
497 first = l.max() |
497 first = l.max() |
498 second = l.min() |
498 second = l.min() |
499 else: |
499 else: |
500 l = list(l) |
500 first = l.first() |
501 first = l[0] |
501 second = l.last() |
502 second = l[-1] |
|
503 |
502 |
504 if first is None: |
503 if first is None: |
505 raise util.Abort(_('empty revision range')) |
504 raise util.Abort(_('empty revision range')) |
506 |
505 |
507 if first == second and len(revs) == 1 and _revrangesep not in revs[0]: |
506 if first == second and len(revs) == 1 and _revrangesep not in revs[0]: |