##// END OF EJS Templates
scmutil: backout 83785bb56062 (issue3643)
Matt Mackall -
r17681:a41fd730 default
parent child Browse files
Show More
@@ -229,7 +229,6 b' class vfs(abstractvfs):'
229 if expand:
229 if expand:
230 base = os.path.realpath(util.expandpath(base))
230 base = os.path.realpath(util.expandpath(base))
231 self.base = base
231 self.base = base
232 self.basesep = self.base + os.sep
233 self._setmustaudit(audit)
232 self._setmustaudit(audit)
234 self.createmode = None
233 self.createmode = None
235 self._trustnlink = None
234 self._trustnlink = None
@@ -332,8 +331,9 b' class vfs(abstractvfs):'
332
331
333 def join(self, path):
332 def join(self, path):
334 if path:
333 if path:
335 return path.startswith('/') and path or (self.basesep + path)
334 return os.path.join(self.base, path)
336 return self.base
335 else:
336 return self.base
337
337
338 opener = vfs
338 opener = vfs
339
339
General Comments 0
You need to be logged in to leave comments. Login now