##// END OF EJS Templates
mdiff: move re-exports to top...
Yuya Nishihara -
r32199:2d84947c default
parent child Browse files
Show More
@@ -21,6 +21,10 b' from . import ('
21 21 util,
22 22 )
23 23
24 patches = mpatch.patches
25 patchedsize = mpatch.patchedsize
26 textdiff = bdiff.bdiff
27
24 28 def splitnewlines(text):
25 29 '''like str.splitlines, but only split on newlines.'''
26 30 lines = [l + '\n' for l in text.split('\n')]
@@ -478,7 +482,3 b' def trivialdiffheader(length):'
478 482
479 483 def replacediffheader(oldlen, newlen):
480 484 return struct.pack(">lll", 0, oldlen, newlen)
481
482 patches = mpatch.patches
483 patchedsize = mpatch.patchedsize
484 textdiff = bdiff.bdiff
General Comments 0
You need to be logged in to leave comments. Login now