Mercurial > hg
comparison mercurial/wireprotov2server.py @ 42774:da643cadec90
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 07 Aug 2019 20:10:24 +0200 |
parents | d6569f1e9b37 |
children | 2c4f656c8e9f |
comparison
equal
deleted
inserted
replaced
42773:127d57e950e0 | 42774:da643cadec90 |
---|---|
935 | 935 |
936 followingmeta = [] | 936 followingmeta = [] |
937 followingdata = [] | 937 followingdata = [] |
938 | 938 |
939 if b'revision' in fields: | 939 if b'revision' in fields: |
940 revisiondata = cl.revision(node, raw=True) | 940 revisiondata = cl.rawdata(node) |
941 followingmeta.append((b'revision', len(revisiondata))) | 941 followingmeta.append((b'revision', len(revisiondata))) |
942 followingdata.append(revisiondata) | 942 followingdata.append(revisiondata) |
943 | 943 |
944 # TODO make it possible for extensions to wrap a function or register | 944 # TODO make it possible for extensions to wrap a function or register |
945 # a handler to service custom fields. | 945 # a handler to service custom fields. |