mercurial/sshrepo.py
changeset 14076 924c82157d46
parent 14004 97ed99d1f419
child 14363 82f3b0f3f0a5
--- a/mercurial/sshrepo.py	Sat Apr 30 16:33:47 2011 +0200
+++ b/mercurial/sshrepo.py	Sat Apr 30 09:43:20 2011 -0700
@@ -6,7 +6,7 @@
 # GNU General Public License version 2 or any later version.
 
 from i18n import _
-import util, error, wireproto, url
+import util, error, wireproto
 
 class remotelock(object):
     def __init__(self, repo):
@@ -23,7 +23,7 @@
         self._url = path
         self.ui = ui
 
-        u = url.url(path, parsequery=False, parsefragment=False)
+        u = util.url(path, parsequery=False, parsefragment=False)
         if u.scheme != 'ssh' or not u.host or u.path is None:
             self._abort(error.RepoError(_("couldn't parse location %s") % path))