sapling/mercurial
Alexis S. L. Carvalho 40dca7e9cd HTTPS: fix python2.3, persistent connections, don't explode if SSL is not available
The urllib2 differences between python 2.3 and 2.4 are hidden by
using keepalive.py, which also gives us support for persistent
connections.

Support for HTTPS is enabled only if there's a HTTPSHandler class in
urllib2.

It's not possible to have separate classes as handlers for HTTP and
HTTPS:  to support persistent HTTPS connections, we need a class that
inherits from both keepalive.HTTPHandler and urllib2.HTTPSHandler.  If
we try to pass (an instance of) this class and (an instance of) the
httphandler class to urllib2.build_opener, this function ends up getting
confused, since both classes are subclasses of the HTTPHandler default
handler, and raises an exception.
2006-07-06 03:14:55 -03:00
..
hgweb hgweb: fix unbundle. 2006-07-03 00:33:19 -03:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
appendfile.py reduce memory used when appendfile appends to real file. 2006-05-09 11:08:06 -07:00
archival.py use commit time as mtime for file archives. 2006-06-21 15:31:23 -07:00
bdiff.c Include inttypes.h instead of stdint.h (fixes issue299) 2006-06-30 21:41:46 +02:00
bundlerepo.py add support for compressed bundle repositories 2006-05-12 18:38:56 +02:00
byterange.py Make consistent use of str.startswith() in conditionals. 2005-07-10 16:14:56 -08:00
changegroup.py use demandload more. 2006-06-20 23:58:21 -07:00
changelog.py validate the resulting date in parsedate 2006-06-30 18:48:06 +02:00
commands.py Merge context patches 2006-07-05 13:28:25 -05:00
context.py Convert hg annotate to context api 2006-06-28 17:42:17 -05:00
demandload.py demandload: implement __call__ 2006-05-18 13:52:55 -07:00
dirstate.py simplify filterfiles when filtering based on a directory 2006-06-23 08:09:48 +02:00
fancyopts.py fixed some stuff pychecker shows, marked unclear/wrong stuff with XXX 2005-11-14 03:59:35 +02:00
filelog.py use demandload more. 2006-06-20 23:58:21 -07:00
hg.py hg.py: move exception handling code to try to avoid hiding errors 2006-07-02 22:39:39 -03:00
httprangereader.py Fix just introduced possible old-http bug 2006-04-30 18:50:53 +02:00
httprepo.py HTTPS: fix python2.3, persistent connections, don't explode if SSL is not available 2006-07-06 03:14:55 -03:00
i18n.py use a dummy function for gettext 2005-10-18 18:38:04 -07:00
keepalive.py Update keepalive.py to current CVS version of urlgrabber. 2006-06-16 10:00:37 -03:00
localrepo.py Merge context patches 2006-07-05 13:28:25 -05:00
lock.py fix backtrace printed when cannot get lock. 2006-03-28 09:01:07 -08:00
lsprof.py do not try to package lsprof if not available. 2006-06-23 19:20:22 -07:00
manifest.py use demandload more. 2006-06-20 23:58:21 -07:00
mdiff.py use demandload more. 2006-06-20 23:58:21 -07:00
mpatch.c Include inttypes.h instead of stdint.h (fixes issue299) 2006-06-30 21:41:46 +02:00
node.py use demandload more. 2006-06-20 23:58:21 -07:00
packagescan.py do not try to package lsprof if not available. 2006-06-23 19:20:22 -07:00
remoterepo.py remove duplicate code. 2006-06-21 22:45:29 -07:00
repo.py Break apart hg.py 2005-08-27 14:21:25 -07:00
revlog.py revlog: make lookup handle binary nodes 2006-06-28 16:52:42 -05:00
sshrepo.py Added ability to clone from a local repository to a (new) remote one. 2006-06-30 19:24:02 -07:00
sshserver.py extend network protocol to stop clients from locking servers 2006-06-15 16:37:23 -07:00
statichttprepo.py Implement revlogng. 2006-04-04 16:38:43 -04:00
templater.py templater.firstline should handle empty strings 2006-07-04 15:36:05 -07:00
transaction.py use demandload more. 2006-06-20 23:58:21 -07:00
ui.py Allow using default values with ui.configlist, too, and add a test for this. 2006-06-26 22:44:48 +02:00
util_win32.py replace os.stat with os.lstat in some where. 2006-06-16 12:58:24 -07:00
util.py str.rsplit does not exist in python 2.3 2006-06-30 23:02:08 +02:00
version.py Don't forget version at the end of setup.py, write it only if changed. 2006-03-19 21:26:58 +01:00