Show More
@@ -293,7 +293,8 b' class basicstore(object):' | |||||
293 | self.createmode = _calcmode(path) |
|
293 | self.createmode = _calcmode(path) | |
294 | vfs = vfstype(self.path) |
|
294 | vfs = vfstype(self.path) | |
295 | vfs.createmode = self.createmode |
|
295 | vfs.createmode = self.createmode | |
296 |
self. |
|
296 | self.vfs = scmutil.filtervfs(vfs, encodedir) | |
|
297 | self.opener = self.vfs | |||
297 |
|
298 | |||
298 | def join(self, f): |
|
299 | def join(self, f): | |
299 | return self.path + '/' + encodedir(f) |
|
300 | return self.path + '/' + encodedir(f) | |
@@ -343,7 +344,8 b' class encodedstore(basicstore):' | |||||
343 | self.createmode = _calcmode(self.path) |
|
344 | self.createmode = _calcmode(self.path) | |
344 | vfs = vfstype(self.path) |
|
345 | vfs = vfstype(self.path) | |
345 | vfs.createmode = self.createmode |
|
346 | vfs.createmode = self.createmode | |
346 |
self. |
|
347 | self.vfs = scmutil.filtervfs(vfs, encodefilename) | |
|
348 | self.opener = self.vfs | |||
347 |
|
349 | |||
348 | def datafiles(self): |
|
350 | def datafiles(self): | |
349 | for a, b, size in self._walk('data', True): |
|
351 | for a, b, size in self._walk('data', True): | |
@@ -451,7 +453,8 b' class fncachestore(basicstore):' | |||||
451 | vfs.createmode = self.createmode |
|
453 | vfs.createmode = self.createmode | |
452 | fnc = fncache(vfs) |
|
454 | fnc = fncache(vfs) | |
453 | self.fncache = fnc |
|
455 | self.fncache = fnc | |
454 |
self. |
|
456 | self.vfs = _fncachevfs(vfs, fnc, encode) | |
|
457 | self.opener = self.vfs | |||
455 |
|
458 | |||
456 | def join(self, f): |
|
459 | def join(self, f): | |
457 | return self.pathsep + self.encode(f) |
|
460 | return self.pathsep + self.encode(f) |
General Comments 0
You need to be logged in to leave comments.
Login now