[PATCH 3 of 8] clone: add an argument to determine if a clone should stream files
Matt Mackall
mpm at selenic.com
Mon May 6 14:59:54 CDT 2013
On Mon, 2013-05-06 at 12:36 -0700, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1367429921 25200
> # Wed May 01 10:38:41 2013 -0700
> # Node ID e5c4416f076c1a99ea99fe83da9a009a15ca33ea
> # Parent 4da152c208d0f853bd03781a5d7a9b9cc8716a19
> clone: add an argument to determine if a clone should stream files
>
> This adds an argument to wireproto.stream to specify if a streaming clone should stream
> file contents. This allows an extension to prevent file contents from being
> streamed.
Adding arguments to existing commands doesn't work with ssh unless the
command is already spec'ed to accept varargs, ie has a '*' here:
http://www.selenic.com/hg/file/a718a0ba6787/mercurial/wireproto.py#l638
..and we can't add '*' to existing commands.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list