Show More
@@ -863,17 +863,20 b' class revlog(object):' | |||||
863 | length = self.length |
|
863 | length = self.length | |
864 | inline = self._inline |
|
864 | inline = self._inline | |
865 | iosize = self._io.size |
|
865 | iosize = self._io.size | |
866 | getchunk = self._getchunk |
|
866 | buffer = util.buffer | |
867 |
|
867 | |||
868 | l = [] |
|
868 | l = [] | |
869 | ladd = l.append |
|
869 | ladd = l.append | |
870 |
|
870 | |||
|
871 | # XXX assume for now that chunkcache is preloaded | |||
|
872 | offset, data = self._chunkcache | |||
|
873 | ||||
871 | for rev in revs: |
|
874 | for rev in revs: | |
872 | chunkstart = start(rev) |
|
875 | chunkstart = start(rev) | |
873 | if inline: |
|
876 | if inline: | |
874 | chunkstart += (rev + 1) * iosize |
|
877 | chunkstart += (rev + 1) * iosize | |
875 | chunklength = length(rev) |
|
878 | chunklength = length(rev) | |
876 |
ladd(decompress( |
|
879 | ladd(decompress(buffer(data, chunkstart - offset, chunklength))) | |
877 |
|
880 | |||
878 | return l |
|
881 | return l | |
879 |
|
882 |
General Comments 0
You need to be logged in to leave comments.
Login now