[PATCH 1 of 5 RFC] sslutil: extracted ssl methods from httpsconnection in url.py

Matt Mackall mpm at selenic.com
Thu May 5 21:43:01 CDT 2011


On Thu, 2011-05-05 at 13:35 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <durin42 at gmail.com>
> # Date 1304564935 18000
> # Node ID 7bff60037d78976fb3d3a561a00f2e17d2da2ff6
> # Parent  dc733eec91698b4d1e2755361bfd384345020a39
> sslutil: extracted ssl methods from httpsconnection in url.py
> 
> This makes it easier to share ssl cert validation with other http
> implementations.

This looks great except for one thing:

> diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py
> new file mode 100644
> --- /dev/null
> +++ b/mercurial/sslutil.py
> @@ -0,0 +1,124 @@
> +# url.py - HTTP handling for mercurial
> +#
> +# Copyright 2011, Google Inc.

Given that this is all code movement, that land grab is a bit
unwarranted.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list