Show More
@@ -124,7 +124,7 class shallowcg1packer(changegroup.cgpac | |||
|
124 | 124 | def nodechunk(self, revlog, node, prevnode, linknode): |
|
125 | 125 | prefix = '' |
|
126 | 126 | if prevnode == nullid: |
|
127 |
delta = revlog.r |
|
|
127 | delta = revlog.rawdata(node) | |
|
128 | 128 | prefix = mdiff.trivialdiffheader(len(delta)) |
|
129 | 129 | else: |
|
130 | 130 | # Actually uses remotefilelog.revdiff which works on nodes, not revs |
@@ -267,7 +267,7 def addchangegroupfiles(orig, repo, sour | |||
|
267 | 267 | if not available(f, node, f, deltabase): |
|
268 | 268 | continue |
|
269 | 269 | |
|
270 |
base = fl.r |
|
|
270 | base = fl.rawdata(deltabase) | |
|
271 | 271 | text = mdiff.patch(base, delta) |
|
272 | 272 | if not isinstance(text, bytes): |
|
273 | 273 | text = bytes(text) |
General Comments 0
You need to be logged in to leave comments.
Login now