comparison mercurial/httprepo.py @ 1377:854775b27d1a

Fixed a bug in my changes to httprepo.py
author Eric Hopper <hopper@omnifarious.org>
date Mon, 03 Oct 2005 16:07:54 -0700
parents 524ca4a06f70
children cf9a1233738a
comparison
equal deleted inserted replaced
1376:524ca4a06f70 1377:854775b27d1a
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from node import * 8 from node import *
9 from remoterepo import * 9 from remoterepo import *
10 from demandload import * 10 from demandload import *
11 demandload(globals(), "hg os urllib urllib2 urlparse zlib") 11 demandload(globals(), "hg os urllib urllib2 urlparse zlib util")
12 12
13 class httprepository(remoterepository): 13 class httprepository(remoterepository):
14 def __init__(self, ui, path): 14 def __init__(self, ui, path):
15 # fix missing / after hostname 15 # fix missing / after hostname
16 s = urlparse.urlsplit(path) 16 s = urlparse.urlsplit(path)