##// END OF EJS Templates
mdiff: add helper for making deltas which replace the full text of a revision...
Mike Edgar -
r24119:a5a06c9c default
parent child Browse files
Show More
@@ -367,6 +367,9 def get_matching_blocks(a, b):
367 367 def trivialdiffheader(length):
368 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 373 patches = mpatch.patches
371 374 patchedsize = mpatch.patchedsize
372 375 textdiff = bdiff.bdiff
General Comments 0
You need to be logged in to leave comments. Login now