Show More
@@ -367,6 +367,9 b' def get_matching_blocks(a, b):' | |||||
367 | def trivialdiffheader(length): |
|
367 | def trivialdiffheader(length): | |
368 | return struct.pack(">lll", 0, 0, length) |
|
368 | return struct.pack(">lll", 0, 0, length) | |
369 |
|
369 | |||
|
370 | def replacediffheader(oldlen, newlen): | |||
|
371 | return struct.pack(">lll", 0, oldlen, newlen) | |||
|
372 | ||||
370 | patches = mpatch.patches |
|
373 | patches = mpatch.patches | |
371 | patchedsize = mpatch.patchedsize |
|
374 | patchedsize = mpatch.patchedsize | |
372 | textdiff = bdiff.bdiff |
|
375 | textdiff = bdiff.bdiff |
General Comments 0
You need to be logged in to leave comments.
Login now