[PATCH] send http auth information pre-emptively to reduce roundtrips

Sune Foldager cryo at cyanite.org
Mon Apr 6 10:25:13 CDT 2009


On 06/04/2009, at 16.13, Marti Raudsepp wrote:

> One consideration is that repositories often only require
> authentication for pushing, but not pulling. So if you clone a
> repository with auth info in the URL, it's remembered in hgrc, but not
> sent over the network until pushing.
>
> I'd prefer sending passwords over the network as rarely as possible,
> even at the cost of an extra round-trip.

Yes, the more I think about these issues the more I feel the same way,  
so: Forget the patch, I decided against using it myself also :-p.

The other one, [auth] in hgrc, I would still like pushed as we use  
this extensively at work.

-- Sune.



More information about the Mercurial-devel mailing list