# HG changeset patch # User FUJIWARA Katsunori # Date 2012-08-30 17:06:29 # Node ID 1dc37491e9fb85976cfde1deef7f59eb154b8b8c # Parent dacb50696b75141596e0e87297a4d7ea7c67f66e localrepo: use "vfs" constructor/field for initialization around "store" diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -182,12 +182,12 @@ class localrepository(object): if inst.errno != errno.ENOENT: raise - self.store = store.store(requirements, self.sharedpath, scmutil.opener) + self.store = store.store(requirements, self.sharedpath, scmutil.vfs) self.spath = self.store.path - self.sopener = self.store.opener - self.svfs = self.sopener + self.svfs = self.store.vfs + self.sopener = self.svfs self.sjoin = self.store.join - self.opener.createmode = self.store.createmode + self.vfs.createmode = self.store.createmode self._applyrequirements(requirements) if create: self._writerequirements()