Show More
@@ -1965,13 +1965,7 b' class revlog(object):' | |||||
1965 |
|
1965 | |||
1966 | revinfo = _revisioninfo(node, p1, p2, btext, textlen, cachedelta, flags) |
|
1966 | revinfo = _revisioninfo(node, p1, p2, btext, textlen, cachedelta, flags) | |
1967 |
|
1967 | |||
1968 | # no delta for flag processor revision (see "candelta" for why) |
|
1968 | deltainfo = deltacomputer.finddeltainfo(revinfo, fh) | |
1969 | # not calling candelta since only one revision needs test, also to |
|
|||
1970 | # avoid overhead fetching flags again. |
|
|||
1971 | if flags & REVIDX_RAWTEXT_CHANGING_FLAGS: |
|
|||
1972 | deltainfo = None |
|
|||
1973 | else: |
|
|||
1974 | deltainfo = deltacomputer.finddeltainfo(revinfo, fh) |
|
|||
1975 |
|
1969 | |||
1976 | if deltainfo is not None: |
|
1970 | if deltainfo is not None: | |
1977 | base = deltainfo.base |
|
1971 | base = deltainfo.base |
@@ -703,6 +703,12 b' class deltacomputer(object):' | |||||
703 | if not revinfo.textlen: |
|
703 | if not revinfo.textlen: | |
704 | return None # empty file do not need delta |
|
704 | return None # empty file do not need delta | |
705 |
|
705 | |||
|
706 | # no delta for flag processor revision (see "candelta" for why) | |||
|
707 | # not calling candelta since only one revision needs test, also to | |||
|
708 | # avoid overhead fetching flags again. | |||
|
709 | if revinfo.flags & REVIDX_RAWTEXT_CHANGING_FLAGS: | |||
|
710 | return None | |||
|
711 | ||||
706 | cachedelta = revinfo.cachedelta |
|
712 | cachedelta = revinfo.cachedelta | |
707 | p1 = revinfo.p1 |
|
713 | p1 = revinfo.p1 | |
708 | p2 = revinfo.p2 |
|
714 | p2 = revinfo.p2 |
General Comments 0
You need to be logged in to leave comments.
Login now