Show More
@@ -291,9 +291,9 b' def _calcmode(path):' | |||
|
291 | 291 | class basicstore(object): |
|
292 | 292 | '''base class for local repository stores''' |
|
293 | 293 | def __init__(self, path, vfstype): |
|
294 | self.path = path | |
|
294 | vfs = vfstype(path) | |
|
295 | self.path = vfs.base | |
|
295 | 296 | self.createmode = _calcmode(path) |
|
296 | vfs = vfstype(self.path) | |
|
297 | 297 | vfs.createmode = self.createmode |
|
298 | 298 | self.vfs = scmutil.filtervfs(vfs, encodedir) |
|
299 | 299 | self.opener = self.vfs |
@@ -342,9 +342,9 b' class basicstore(object):' | |||
|
342 | 342 | |
|
343 | 343 | class encodedstore(basicstore): |
|
344 | 344 | def __init__(self, path, vfstype): |
|
345 |
|
|
|
345 | vfs = vfstype(path + '/store') | |
|
346 | self.path = vfs.base | |
|
346 | 347 | self.createmode = _calcmode(self.path) |
|
347 | vfs = vfstype(self.path) | |
|
348 | 348 | vfs.createmode = self.createmode |
|
349 | 349 | self.vfs = scmutil.filtervfs(vfs, encodefilename) |
|
350 | 350 | self.opener = self.vfs |
@@ -448,10 +448,10 b' class fncachestore(basicstore):' | |||
|
448 | 448 | else: |
|
449 | 449 | encode = _plainhybridencode |
|
450 | 450 | self.encode = encode |
|
451 |
|
|
|
451 | vfs = vfstype(path + '/store') | |
|
452 | self.path = vfs.base | |
|
452 | 453 | self.pathsep = self.path + '/' |
|
453 | 454 | self.createmode = _calcmode(self.path) |
|
454 | vfs = vfstype(self.path) | |
|
455 | 455 | vfs.createmode = self.createmode |
|
456 | 456 | fnc = fncache(vfs) |
|
457 | 457 | self.fncache = fnc |
General Comments 0
You need to be logged in to leave comments.
Login now