diff -r 16ec37411db5 -r a41fd730f230 mercurial/scmutil.py --- a/mercurial/scmutil.py Sat Sep 29 13:34:37 2012 +0200 +++ b/mercurial/scmutil.py Sat Sep 29 11:57:16 2012 -0500 @@ -229,7 +229,6 @@ if expand: base = os.path.realpath(util.expandpath(base)) self.base = base - self.basesep = self.base + os.sep self._setmustaudit(audit) self.createmode = None self._trustnlink = None @@ -332,8 +331,9 @@ def join(self, path): if path: - return path.startswith('/') and path or (self.basesep + path) - return self.base + return os.path.join(self.base, path) + else: + return self.base opener = vfs