Show More
@@ -1661,7 +1661,12 b' def getgraphlogrevs(repo, pats, opts):' | |||||
1661 | revs = matcher(repo, revs) |
|
1661 | revs = matcher(repo, revs) | |
1662 | revs.sort(reverse=True) |
|
1662 | revs.sort(reverse=True) | |
1663 | if limit is not None: |
|
1663 | if limit is not None: | |
1664 |
revs = revs |
|
1664 | limitedrevs = revset.baseset() | |
|
1665 | for idx, rev in enumerate(revs): | |||
|
1666 | if idx >= limit: | |||
|
1667 | break | |||
|
1668 | limitedrevs.append(rev) | |||
|
1669 | revs = limitedrevs | |||
1665 |
|
1670 | |||
1666 | return revs, expr, filematcher |
|
1671 | return revs, expr, filematcher | |
1667 |
|
1672 |
General Comments 0
You need to be logged in to leave comments.
Login now