url: fix https client authentication through proxy
There is no tests for this, but the parameter order was obviously wrong.
--- a/mercurial/url.py Mon Nov 01 12:45:45 2010 -0500
+++ b/mercurial/url.py Mon Nov 01 01:56:12 2010 +0100
@@ -540,8 +540,8 @@
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.sock.connect((self.host, self.port))
if _generic_proxytunnel(self):
- self.sock = _ssl_wrap_socket(self.sock, self.cert_file,
- self.key_file)
+ self.sock = _ssl_wrap_socket(self.sock, self.key_file,
+ self.cert_file)
else:
BetterHTTPS.connect(self)