[PATCH 04 of 22] wireproto: drop the _decompress method in favor a new call type
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Mon Mar 31 14:56:40 CDT 2014
> @@ -386,10 +386,23 @@ class wirepeer(peer.peerrepository):
> The command is expectid to return a stream.
>
> return server reply as a file like object."""
> raise NotImplementedError()
>
> + def _callcompressable(self, cmd, **args):
> + """execute <cmd> on the server
> +
> + The command is expected to return a stream.
> +
> + The stream may have been compressed in some implemented.
> This function
> + takes care of the decompression. This is the only
> difference with
> + _callstream.
> +
> + return serve5r replay as a file like object.
>
> Do you men 'server' and 'reply' here?
I do. (fixing a typo during the last pass, adds two…)
More information about the Mercurial-devel
mailing list