# HG changeset patch # User Pierre-Yves David # Date 2019-08-07 18:11:35 # Node ID e11e03190dc0a2071912b5705a558de5be9a4d93 # Parent 7aac7f009f7c5473e63629adff36ad8d1dc7d472 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. diff --git a/mercurial/revlogutils/deltas.py b/mercurial/revlogutils/deltas.py --- a/mercurial/revlogutils/deltas.py +++ b/mercurial/revlogutils/deltas.py @@ -925,7 +925,7 @@ class deltacomputer(object): 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