Show More
@@ -1327,8 +1327,14 b' class revlog(object):' | |||||
1327 | l = [] |
|
1327 | l = [] | |
1328 | ladd = l.append |
|
1328 | ladd = l.append | |
1329 |
|
1329 | |||
|
1330 | firstrev = revs[0] | |||
|
1331 | # Skip trailing revisions with empty diff | |||
|
1332 | for lastrev in revs[::-1]: | |||
|
1333 | if length(lastrev) != 0: | |||
|
1334 | break | |||
|
1335 | ||||
1330 | try: |
|
1336 | try: | |
1331 |
offset, data = self._getsegmentforrevs(rev |
|
1337 | offset, data = self._getsegmentforrevs(firstrev, lastrev, df=df) | |
1332 | except OverflowError: |
|
1338 | except OverflowError: | |
1333 | # issue4215 - we can't cache a run of chunks greater than |
|
1339 | # issue4215 - we can't cache a run of chunks greater than | |
1334 | # 2G on Windows |
|
1340 | # 2G on Windows |
General Comments 0
You need to be logged in to leave comments.
Login now