Patchwork [07,of,15] rawdata: update caller in wireprotov2server

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

Patch

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)