mercurial/localrepo.py
changeset 14076 924c82157d46
parent 14073 72c84f24b420
child 14102 7f45b1911893
--- a/mercurial/localrepo.py	Sat Apr 30 16:33:47 2011 +0200
+++ b/mercurial/localrepo.py	Sat Apr 30 09:43:20 2011 -0700
@@ -14,7 +14,6 @@
 import match as matchmod
 import merge as mergemod
 import tags as tagsmod
-import url as urlmod
 from lock import release
 import weakref, errno, os, time, inspect
 propertycache = util.propertycache
@@ -1695,7 +1694,7 @@
         cl.delayupdate()
         oldheads = cl.heads()
 
-        tr = self.transaction("\n".join([srctype, urlmod.hidepassword(url)]))
+        tr = self.transaction("\n".join([srctype, util.hidepassword(url)]))
         try:
             trp = weakref.proxy(tr)
             # pull off the changeset group
@@ -1937,7 +1936,7 @@
     return a
 
 def instance(ui, path, create):
-    return localrepository(ui, urlmod.localpath(path), create)
+    return localrepository(ui, util.localpath(path), create)
 
 def islocal(path):
     return True