[PATCH] wireproto: add prepush command, use it to shorten unbundle URLs (issue2126)

Steven Brown stevengbrown at gmail.com
Wed Jan 26 03:55:19 CST 2011


On 26 January 2011 16:21, Matt Mackall <mpm at selenic.com> wrote:

> On Wed, 2011-01-26 at 15:27 +0800, Steven Brown wrote:
> > # HG changeset patch
> > # User StevenGBrown
> > # Date 1295885661 -28800
> > # Node ID d819cf21ba8b9f2121480ec385dde3814eb19d39
> > # Parent  5dda6c708138b7420e73193915c3732118b9e114
> > wireproto: add prepush command, use it to shorten unbundle URLs
> (issue2126)
>
> An interesting approach, and a solid piece of coding, but I'm afraid
> this isn't the sort of solution I was hoping for here.
>
> A much more generic approach would have the server advertising "I know
> about long args" and the generic http client code would then start
> stuffing args somewhere else in the query. For instance, in a series
> fake cookies or X-Mercurial-Arg: headers in the HTTP request. Then we'd
> automatically get long arg support in all commands, past and future.
>
> ps: please adjust your commit name to something that looks like an email
> address.
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
>
Great idea, thanks. I'll work out the details and put together a proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110126/2271ce37/attachment.htm>


More information about the Mercurial-devel mailing list