--- 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))