##// END OF EJS Templates
store: invoke "os.path.isdir()" via vfs...
FUJIWARA Katsunori -
r17728:004bd533 default
parent child Browse files
Show More
@@ -295,6 +295,7 b' class basicstore(object):'
295 self.path = vfs.base
295 self.path = vfs.base
296 self.createmode = _calcmode(vfs)
296 self.createmode = _calcmode(vfs)
297 vfs.createmode = self.createmode
297 vfs.createmode = self.createmode
298 self.rawvfs = vfs
298 self.vfs = scmutil.filtervfs(vfs, encodedir)
299 self.vfs = scmutil.filtervfs(vfs, encodedir)
299 self.opener = self.vfs
300 self.opener = self.vfs
300
301
@@ -308,7 +309,7 b' class basicstore(object):'
308 path += '/' + relpath
309 path += '/' + relpath
309 striplen = len(self.path) + 1
310 striplen = len(self.path) + 1
310 l = []
311 l = []
311 if os.path.isdir(path):
312 if self.rawvfs.isdir(path):
312 visit = [path]
313 visit = [path]
313 while visit:
314 while visit:
314 p = visit.pop()
315 p = visit.pop()
@@ -346,6 +347,7 b' class encodedstore(basicstore):'
346 self.path = vfs.base
347 self.path = vfs.base
347 self.createmode = _calcmode(vfs)
348 self.createmode = _calcmode(vfs)
348 vfs.createmode = self.createmode
349 vfs.createmode = self.createmode
350 self.rawvfs = vfs
349 self.vfs = scmutil.filtervfs(vfs, encodefilename)
351 self.vfs = scmutil.filtervfs(vfs, encodefilename)
350 self.opener = self.vfs
352 self.opener = self.vfs
351
353
General Comments 0
You need to be logged in to leave comments. Login now