Show More
@@ -1965,12 +1965,6 class revlog(object): | |||
|
1965 | 1965 | |
|
1966 | 1966 | revinfo = _revisioninfo(node, p1, p2, btext, textlen, cachedelta, flags) |
|
1967 | 1967 | |
|
1968 | # no delta for flag processor revision (see "candelta" for why) | |
|
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 | 1968 |
|
|
1975 | 1969 | |
|
1976 | 1970 | if deltainfo is not None: |
@@ -703,6 +703,12 class deltacomputer(object): | |||
|
703 | 703 | if not revinfo.textlen: |
|
704 | 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 | 712 | cachedelta = revinfo.cachedelta |
|
707 | 713 | p1 = revinfo.p1 |
|
708 | 714 | p2 = revinfo.p2 |
General Comments 0
You need to be logged in to leave comments.
Login now