[PATCH 1 of 5 modernize-streamclone] streamclone: move streaming clone logic from localrepo

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sat Oct 3 18:16:31 CDT 2015



On 10/02/2015 10:55 PM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1443847144 25200
> #      Fri Oct 02 21:39:04 2015 -0700
> # Node ID 78a614c3c6def09605aa17d23da8a94a931fe6cc
> # Parent  667f7b208f400279f93a525e7aa062700ef4ee8d
> streamclone: move streaming clone logic from localrepo

[...]

> --- a/mercurial/streamclone.py
> +++ b/mercurial/streamclone.py
> @@ -16,8 +16,34 @@ from . import (
>       store,
>       util,
>   )
>
> +def maybeperformstreamclone(repo, remote, heads, stream):


This function is screaming for a docstring. Can you follow up with one?--
Pierre-Yves David


More information about the Mercurial-devel mailing list