Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/httprepo.py @ 3887:79e5a6e7c451
Merge with main
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 14 Dec 2006 13:49:33 -0800 |
parents | abaee83ce0a6 |
children | 6b4127c7d52a |
comparison
equal
deleted
inserted
replaced
3884:d83b125b7d7e | 3887:79e5a6e7c451 |
---|---|
7 # of the GNU General Public License, incorporated herein by reference. | 7 # of the GNU General Public License, incorporated herein by reference. |
8 | 8 |
9 from node import * | 9 from node import * |
10 from remoterepo import * | 10 from remoterepo import * |
11 from i18n import gettext as _ | 11 from i18n import gettext as _ |
12 from demandload import * | 12 import hg, os, urllib, urllib2, urlparse, zlib, util, httplib |
13 demandload(globals(), "hg os urllib urllib2 urlparse zlib util httplib") | 13 import errno, keepalive, tempfile, socket, changegroup |
14 demandload(globals(), "errno keepalive tempfile socket changegroup") | |
15 | 14 |
16 class passwordmgr(urllib2.HTTPPasswordMgrWithDefaultRealm): | 15 class passwordmgr(urllib2.HTTPPasswordMgrWithDefaultRealm): |
17 def __init__(self, ui): | 16 def __init__(self, ui): |
18 urllib2.HTTPPasswordMgrWithDefaultRealm.__init__(self) | 17 urllib2.HTTPPasswordMgrWithDefaultRealm.__init__(self) |
19 self.ui = ui | 18 self.ui = ui |