# HG changeset patch
# User Pierre-Yves David <pierre-yves.da...@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.

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)
 
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to