Mercurial > hg
changeset 17654:1dc37491e9fb
localrepo: use "vfs" constructor/field for initialization around "store"
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 31 Aug 2012 02:06:29 +0900 |
parents | dacb50696b75 |
children | 67deea9c1c42 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Aug 31 02:06:29 2012 +0900 +++ b/mercurial/localrepo.py Fri Aug 31 02:06:29 2012 +0900 @@ -182,12 +182,12 @@ 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()