Patchwork [02,of,15] rawdata: update callers in context

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 15, 2019, 10:40 a.m.
Message ID <521bb18efd231f6d6b45.1565865600@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/41283/
State Accepted
Headers show

Comments

Pierre-Yves David - Aug. 15, 2019, 10:40 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1565201315 -7200
#      Wed Aug 07 20:08:35 2019 +0200
# Node ID 521bb18efd231f6d6b45666a9828e6e8fae0a650
# Parent  66af150744d04f984d0300fb71ff93ceb2dc28a9
# EXP-Topic rawdata
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 521bb18efd23
rawdata: update callers in context

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.

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1053,7 +1053,7 @@  class filectx(basefilectx):
                        filelog=self._filelog, changeid=changeid)
 
     def rawdata(self):
-        return self._filelog.revision(self._filenode, raw=True)
+        return self._filelog.rawdata(self._filenode)
 
     def rawflags(self):
         """low-level revlog flags"""