From patchwork Thu Aug 15 10:40:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [07,of,15] rawdata: update caller in wireprotov2server From: Pierre-Yves David X-Patchwork-Id: 41288 Message-Id: <1e6c47c85559934cb827.1565865605@nodosa.octopoid.net> To: mercurial-devel@mercurial-scm.org Date: Thu, 15 Aug 2019 12:40:05 +0200 # HG changeset patch # User Pierre-Yves David # Date 1565201424 -7200 # Wed Aug 07 20:10:24 2019 +0200 # Node ID 1e6c47c85559934cb827abfabe9e8c84e7674d77 # Parent 3de6d776f3515adf35f1b9abcb4c2cd9d398d7ef # EXP-Topic rawdata # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 1e6c47c85559 rawdata: update caller in wireprotov2server 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/wireprotov2server.py b/mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py +++ b/mercurial/wireprotov2server.py @@ -937,7 +937,7 @@ def changesetdata(repo, proto, revisions followingdata = [] if b'revision' in fields: - revisiondata = cl.revision(node, raw=True) + revisiondata = cl.rawdata(node) followingmeta.append((b'revision', len(revisiondata))) followingdata.append(revisiondata)