Patchwork [12,of,15] rawdata: update callers in repository

login
register
mail settings
Submitter Pierre-Yves David
Date Aug. 15, 2019, 10:40 a.m.
Message ID <acb5122380b83993dc72.1565865610@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/41293/
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 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.

Patch

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.
         """