equal
deleted
inserted
replaced
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 |