Show More
@@ -1113,9 +1113,12 b' class revlog(object):' | |||||
1113 | # (functions are expensive). |
|
1113 | # (functions are expensive). | |
1114 | index = self.index |
|
1114 | index = self.index | |
1115 | istart = index[startrev] |
|
1115 | istart = index[startrev] | |
1116 | iend = index[endrev] |
|
|||
1117 | start = int(istart[0] >> 16) |
|
1116 | start = int(istart[0] >> 16) | |
1118 | end = int(iend[0] >> 16) + iend[1] |
|
1117 | if startrev == endrev: | |
|
1118 | end = start + istart[1] | |||
|
1119 | else: | |||
|
1120 | iend = index[endrev] | |||
|
1121 | end = int(iend[0] >> 16) + iend[1] | |||
1119 |
|
1122 | |||
1120 | if self._inline: |
|
1123 | if self._inline: | |
1121 | start += (startrev + 1) * self._io.size |
|
1124 | start += (startrev + 1) * self._io.size |
General Comments 0
You need to be logged in to leave comments.
Login now