Show More
@@ -2152,12 +2152,8 b' def getgraphlogrevs(repo, pats, opts):' | |||
|
2152 | 2152 | if not (revs.isdescending() or revs.istopo()): |
|
2153 | 2153 | revs.sort(reverse=True) |
|
2154 | 2154 | if expr: |
|
2155 | # Revset matchers often operate faster on revisions in changelog | |
|
2156 | # order, because most filters deal with the changelog. | |
|
2157 | revs.reverse() | |
|
2158 | 2155 | matcher = revset.match(repo.ui, expr, order=revset.followorder) |
|
2159 | 2156 | revs = matcher(repo, revs) |
|
2160 | revs.reverse() | |
|
2161 | 2157 | if limit is not None: |
|
2162 | 2158 | limitedrevs = [] |
|
2163 | 2159 | for idx, rev in enumerate(revs): |
@@ -2182,14 +2178,8 b' def getlogrevs(repo, pats, opts):' | |||
|
2182 | 2178 | return revset.baseset([]), None, None |
|
2183 | 2179 | expr, filematcher = _makelogrevset(repo, pats, opts, revs) |
|
2184 | 2180 | if expr: |
|
2185 | # Revset matchers often operate faster on revisions in changelog | |
|
2186 | # order, because most filters deal with the changelog. | |
|
2187 | if not opts.get('rev'): | |
|
2188 | revs.reverse() | |
|
2189 | 2181 | matcher = revset.match(repo.ui, expr, order=revset.followorder) |
|
2190 | 2182 | revs = matcher(repo, revs) |
|
2191 | if not opts.get('rev'): | |
|
2192 | revs.reverse() | |
|
2193 | 2183 | if limit is not None: |
|
2194 | 2184 | limitedrevs = [] |
|
2195 | 2185 | for idx, r in enumerate(revs): |
General Comments 0
You need to be logged in to leave comments.
Login now