Show More
@@ -1515,8 +1515,12 def _makegraphlogrevset(repo, pats, opts | |||||
1515 | follow = opts.get('follow') or opts.get('follow_first') |
|
1515 | follow = opts.get('follow') or opts.get('follow_first') | |
1516 | followfirst = opts.get('follow_first') and 1 or 0 |
|
1516 | followfirst = opts.get('follow_first') and 1 or 0 | |
1517 | # --follow with FILE behaviour depends on revs... |
|
1517 | # --follow with FILE behaviour depends on revs... | |
1518 | startrev = revs[0] |
|
1518 | it = iter(revs) | |
1519 | followdescendants = (len(revs) > 1 and revs[0] < revs[1]) and 1 or 0 |
|
1519 | startrev = it.next() | |
|
1520 | try: | |||
|
1521 | followdescendants = startrev < it.next() | |||
|
1522 | except (StopIteration): | |||
|
1523 | followdescendants = False | |||
1520 |
|
1524 | |||
1521 | # branch and only_branch are really aliases and must be handled at |
|
1525 | # branch and only_branch are really aliases and must be handled at | |
1522 | # the same time |
|
1526 | # the same time |
General Comments 0
You need to be logged in to leave comments.
Login now