rawdata: update callers in delta utils
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 07 Aug 2019 20:11:35 +0200
changeset 42780 7a89b044eea4
parent 42779 83d090ebec0c
child 42781 aeb2be20b33b
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.
mercurial/revlogutils/deltas.py
--- 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