--- a/mercurial/hg.py Fri May 20 17:36:02 2005 -0800
+++ b/mercurial/hg.py Fri May 20 17:38:01 2005 -0800
@@ -240,6 +240,7 @@
os.mkdir(self.join("data"))
self.opener = opener(self.path)
+ self.fileopener = opener(self.join("data"))
self.manifest = manifest(self.opener)
self.changelog = changelog(self.opener)
self.ignorelist = None
@@ -288,7 +289,7 @@
return os.path.join(self.path, f)
def file(self, f):
- return filelog(self.opener, f)
+ return filelog(self.fileopener, f)
def transaction(self):
return transaction(self.opener, self.join("journal"),