Show More
@@ -173,7 +173,7 b' class unbundle10(object):' | |||||
173 | if not l: |
|
173 | if not l: | |
174 | return {} |
|
174 | return {} | |
175 | fname = readexactly(self._stream, l) |
|
175 | fname = readexactly(self._stream, l) | |
176 |
return |
|
176 | return {'filename': fname} | |
177 |
|
177 | |||
178 | def _deltaheader(self, headertuple, prevnode): |
|
178 | def _deltaheader(self, headertuple, prevnode): | |
179 | node, p1, p2, cs = headertuple |
|
179 | node, p1, p2, cs = headertuple | |
@@ -191,8 +191,8 b' class unbundle10(object):' | |||||
191 | header = struct.unpack(self.deltaheader, headerdata) |
|
191 | header = struct.unpack(self.deltaheader, headerdata) | |
192 | delta = readexactly(self._stream, l - self.deltaheadersize) |
|
192 | delta = readexactly(self._stream, l - self.deltaheadersize) | |
193 | node, p1, p2, deltabase, cs = self._deltaheader(header, prevnode) |
|
193 | node, p1, p2, deltabase, cs = self._deltaheader(header, prevnode) | |
194 |
return |
|
194 | return {'node': node, 'p1': p1, 'p2': p2, 'cs': cs, | |
195 |
|
|
195 | 'deltabase': deltabase, 'delta': delta} | |
196 |
|
196 | |||
197 | class headerlessfixup(object): |
|
197 | class headerlessfixup(object): | |
198 | def __init__(self, fh, h): |
|
198 | def __init__(self, fh, h): |
General Comments 0
You need to be logged in to leave comments.
Login now