Show More
@@ -1274,6 +1274,13 b' class revlog(object):' | |||||
1274 | # _cache only stores rawtext |
|
1274 | # _cache only stores rawtext | |
1275 | if raw: |
|
1275 | if raw: | |
1276 | return self._cache[2] |
|
1276 | return self._cache[2] | |
|
1277 | # duplicated, but good for perf | |||
|
1278 | if rev is None: | |||
|
1279 | rev = self.rev(node) | |||
|
1280 | # no extra flags set, no flag processor runs, text = rawtext | |||
|
1281 | if self.flags(rev) == REVIDX_DEFAULT_FLAGS: | |||
|
1282 | return self._cache[2] | |||
|
1283 | ||||
1277 | cachedrev = self._cache[1] |
|
1284 | cachedrev = self._cache[1] | |
1278 |
|
1285 | |||
1279 | # look up what we need to read |
|
1286 | # look up what we need to read |
General Comments 0
You need to be logged in to leave comments.
Login now