Show More
@@ -336,7 +336,9 b' class _deltacomputer(object):' | |||||
336 | len(delta) - hlen): |
|
336 | len(delta) - hlen): | |
337 | btext[0] = delta[hlen:] |
|
337 | btext[0] = delta[hlen:] | |
338 | else: |
|
338 | else: | |
339 | basetext = revlog.revision(baserev, _df=fh, raw=True) |
|
339 | # deltabase is rawtext before changed by flag processors, which is | |
|
340 | # equivalent to non-raw text | |||
|
341 | basetext = revlog.revision(baserev, _df=fh, raw=False) | |||
340 | btext[0] = mdiff.patch(basetext, delta) |
|
342 | btext[0] = mdiff.patch(basetext, delta) | |
341 |
|
343 | |||
342 | try: |
|
344 | try: | |
@@ -2084,7 +2086,10 b' class revlog(object):' | |||||
2084 | # full versions are inserted when the needed deltas |
|
2086 | # full versions are inserted when the needed deltas | |
2085 | # become comparable to the uncompressed text |
|
2087 | # become comparable to the uncompressed text | |
2086 | if rawtext is None: |
|
2088 | if rawtext is None: | |
2087 | textlen = mdiff.patchedsize(self.rawsize(cachedelta[0]), |
|
2089 | # need rawtext size, before changed by flag processors, which is | |
|
2090 | # the non-raw size. use revlog explicitly to avoid filelog's extra | |||
|
2091 | # logic that might remove metadata size. | |||
|
2092 | textlen = mdiff.patchedsize(revlog.size(self, cachedelta[0]), | |||
2088 | cachedelta[1]) |
|
2093 | cachedelta[1]) | |
2089 | else: |
|
2094 | else: | |
2090 | textlen = len(rawtext) |
|
2095 | textlen = len(rawtext) |
@@ -90,7 +90,7 b' Apply bundles' | |||||
90 | ---- Applying src-normal.bundle to dst-normal ---- |
|
90 | ---- Applying src-normal.bundle to dst-normal ---- | |
91 | OK |
|
91 | OK | |
92 | ---- Applying src-normal.bundle to dst-lfs ---- |
|
92 | ---- Applying src-normal.bundle to dst-lfs ---- | |
93 | CRASHED |
|
93 | OK | |
94 | ---- Applying src-lfs.bundle to dst-normal ---- |
|
94 | ---- Applying src-lfs.bundle to dst-normal ---- | |
95 | OK |
|
95 | OK | |
96 | ---- Applying src-lfs.bundle to dst-lfs ---- |
|
96 | ---- Applying src-lfs.bundle to dst-lfs ---- |
General Comments 0
You need to be logged in to leave comments.
Login now