[PATCH 02 of 15] rawdata: update callers in context
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Thu Aug 15 10:40:00 UTC 2019
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at 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.
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"""
More information about the Mercurial-devel
mailing list