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