diff -r 2cf5c8a4eae5 -r c81d264cd17d mercurial/localrepo.py --- 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