mercurial/localrepo.py
changeset 1102 c81d264cd17d
parent 1101 2cf5c8a4eae5
parent 1101 2cf5c8a4eae5
child 1117 30ab5b8ee8ec
--- a/mercurial/localrepo.py	Sat Aug 27 16:28:53 2005 -0700
+++ b/mercurial/localrepo.py	Sat Aug 27 16:34:54 2005 -0700
@@ -12,7 +12,7 @@
 demandload(globals(), "re lock transaction tempfile stat mdiff")
 
 class localrepository:
-    def __init__(self, ui, opener, path=None, create=0):
+    def __init__(self, ui, path=None, create=0):
         if not path:
             p = os.getcwd()
             while not os.path.isdir(os.path.join(p, ".hg")):
@@ -32,8 +32,8 @@
             os.mkdir(self.path)
             os.mkdir(self.join("data"))
 
-        self.opener = opener(self.path)
-        self.wopener = opener(self.root)
+        self.opener = util.opener(self.path)
+        self.wopener = util.opener(self.root)
         self.manifest = manifest.manifest(self.opener)
         self.changelog = changelog.changelog(self.opener)
         self.tagscache = None