[PATCH 12 of 15] rawdata: update callers in repository

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Aug 15 06:40:10 EDT 2019

# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1565201482 -7200
#      Wed Aug 07 20:11:22 2019 +0200
# Node ID acb5122380b83993dc724135e45a041097199044
# Parent  2f47b0a312a8a05000f6ea55d6fc2825acc68ae5
# EXP-Topic rawdata
# Available At https://bitbucket.org/octobus/mercurial-devel/
#              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r acb5122380b8
rawdata: update callers in repository

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/repository.py b/mercurial/repository.py
--- a/mercurial/repository.py
+++ b/mercurial/repository.py
@@ -1202,7 +1202,7 @@ class imanifeststorage(interfaceutil.Int
     def rawsize(rev):
         """Obtain the size of tracked data.
-        Is equivalent to ``len(m.revision(node, raw=True))``.
+        Is equivalent to ``len(m.rawdata(node))``.
         TODO this method is only used by upgrade code and may be removed.

More information about the Mercurial-devel mailing list