Show More
@@ -291,9 +291,9 b' class basicstore(object):' | |||
|
291 | 291 | def __init__(self, path, vfstype): |
|
292 | 292 | self.path = path |
|
293 | 293 | self.createmode = _calcmode(path) |
|
294 |
|
|
|
295 |
|
|
|
296 |
self.opener = scmutil.filteropener( |
|
|
294 | vfs = vfstype(self.path) | |
|
295 | vfs.createmode = self.createmode | |
|
296 | self.opener = scmutil.filteropener(vfs, encodedir) | |
|
297 | 297 | |
|
298 | 298 | def join(self, f): |
|
299 | 299 | return self.path + '/' + encodedir(f) |
@@ -341,9 +341,9 b' class encodedstore(basicstore):' | |||
|
341 | 341 | def __init__(self, path, vfstype): |
|
342 | 342 | self.path = path + '/store' |
|
343 | 343 | self.createmode = _calcmode(self.path) |
|
344 |
|
|
|
345 |
|
|
|
346 |
self.opener = scmutil.filteropener( |
|
|
344 | vfs = vfstype(self.path) | |
|
345 | vfs.createmode = self.createmode | |
|
346 | self.opener = scmutil.filteropener(vfs, encodefilename) | |
|
347 | 347 | |
|
348 | 348 | def datafiles(self): |
|
349 | 349 | for a, b, size in self._walk('data', True): |
@@ -447,11 +447,11 b' class fncachestore(basicstore):' | |||
|
447 | 447 | self.path = path + '/store' |
|
448 | 448 | self.pathsep = self.path + '/' |
|
449 | 449 | self.createmode = _calcmode(self.path) |
|
450 |
|
|
|
451 |
|
|
|
452 |
fnc = fncache( |
|
|
450 | vfs = vfstype(self.path) | |
|
451 | vfs.createmode = self.createmode | |
|
452 | fnc = fncache(vfs) | |
|
453 | 453 | self.fncache = fnc |
|
454 |
self.opener = _fncachevfs( |
|
|
454 | self.opener = _fncachevfs(vfs, fnc, encode) | |
|
455 | 455 | |
|
456 | 456 | def join(self, f): |
|
457 | 457 | return self.pathsep + self.encode(f) |
General Comments 0
You need to be logged in to leave comments.
Login now