##// END OF EJS Templates
localrepo: use "vfs" constructor/field for initialization around "store"
FUJIWARA Katsunori -
r17654:1dc37491 default
parent child Browse files
Show More
@@ -182,12 +182,12 b' class localrepository(object):'
182 if inst.errno != errno.ENOENT:
182 if inst.errno != errno.ENOENT:
183 raise
183 raise
184
184
185 self.store = store.store(requirements, self.sharedpath, scmutil.opener)
185 self.store = store.store(requirements, self.sharedpath, scmutil.vfs)
186 self.spath = self.store.path
186 self.spath = self.store.path
187 self.sopener = self.store.opener
187 self.svfs = self.store.vfs
188 self.svfs = self.sopener
188 self.sopener = self.svfs
189 self.sjoin = self.store.join
189 self.sjoin = self.store.join
190 self.opener.createmode = self.store.createmode
190 self.vfs.createmode = self.store.createmode
191 self._applyrequirements(requirements)
191 self._applyrequirements(requirements)
192 if create:
192 if create:
193 self._writerequirements()
193 self._writerequirements()
General Comments 0
You need to be logged in to leave comments. Login now