##// 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 class localrepository(object):
182 182 if inst.errno != errno.ENOENT:
183 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 186 self.spath = self.store.path
187 self.sopener = self.store.opener
188 self.svfs = self.sopener
187 self.svfs = self.store.vfs
188 self.sopener = self.svfs
189 189 self.sjoin = self.store.join
190 self.opener.createmode = self.store.createmode
190 self.vfs.createmode = self.store.createmode
191 191 self._applyrequirements(requirements)
192 192 if create:
193 193 self._writerequirements()
General Comments 0
You need to be logged in to leave comments. Login now