Mercurial > hg
changeset 42780:7a89b044eea4
rawdata: update callers in delta utils
We update callers incrementally because this help bisecting failures. This was
useful during development, so we expect it might be useful again in the future.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 07 Aug 2019 20:11:35 +0200 |
parents | 83d090ebec0c |
children | aeb2be20b33b |
files | mercurial/revlogutils/deltas.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlogutils/deltas.py Wed Aug 07 20:11:22 2019 +0200 +++ b/mercurial/revlogutils/deltas.py Wed Aug 07 20:11:35 2019 +0200 @@ -925,7 +925,7 @@ header = mdiff.replacediffheader(revlog.rawsize(base), len(t)) delta = header + t else: - ptext = revlog.revision(base, _df=fh, raw=True) + ptext = revlog.rawdata(base, _df=fh) delta = mdiff.textdiff(ptext, t) return delta