--- a/mercurial/httprepo.py Sat Apr 30 16:33:47 2011 +0200
+++ b/mercurial/httprepo.py Sat Apr 30 09:43:20 2011 -0700
@@ -28,7 +28,7 @@
self.path = path
self.caps = None
self.handler = None
- u = url.url(path)
+ u = util.url(path)
if u.query or u.fragment:
raise util.Abort(_('unsupported URL component: "%s"') %
(u.query or u.fragment))
@@ -111,12 +111,12 @@
except AttributeError:
proto = resp.headers['content-type']
- safeurl = url.hidepassword(self._url)
+ safeurl = util.hidepassword(self._url)
# accept old "text/plain" and "application/hg-changegroup" for now
if not (proto.startswith('application/mercurial-') or
proto.startswith('text/plain') or
proto.startswith('application/hg-changegroup')):
- self.ui.debug("requested URL: '%s'\n" % url.hidepassword(cu))
+ self.ui.debug("requested URL: '%s'\n" % util.hidepassword(cu))
raise error.RepoError(
_("'%s' does not appear to be an hg repository:\n"
"---%%<--- (%s)\n%s\n---%%<---\n")