equal
deleted
inserted
replaced
32 copies, |
32 copies, |
33 error, |
33 error, |
34 extensions, |
34 extensions, |
35 mdiff, |
35 mdiff, |
36 merge, |
36 merge, |
37 revlog, |
|
38 util, |
37 util, |
39 ) |
38 ) |
40 |
39 |
41 # for "historical portability": |
40 # for "historical portability": |
42 # try to import modules separately (in dict order), and ignore |
41 # try to import modules separately (in dict order), and ignore |
987 chunkstart = start(rev) |
986 chunkstart = start(rev) |
988 if inline: |
987 if inline: |
989 chunkstart += (rev + 1) * iosize |
988 chunkstart += (rev + 1) * iosize |
990 chunklength = length(rev) |
989 chunklength = length(rev) |
991 b = buffer(data, chunkstart - offset, chunklength) |
990 b = buffer(data, chunkstart - offset, chunklength) |
992 revlog.decompress(b) |
991 r.decompress(b) |
993 |
992 |
994 def dopatch(text, bins): |
993 def dopatch(text, bins): |
995 if not cache: |
994 if not cache: |
996 r.clearcaches() |
995 r.clearcaches() |
997 mdiff.patches(text, bins) |
996 mdiff.patches(text, bins) |