Mercurial > hg
changeset 17681:a41fd730f230
scmutil: backout 83785bb56062 (issue3643)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 29 Sep 2012 11:57:16 -0500 |
parents | 16ec37411db5 |
children | 6d7db5794e8c |
files | mercurial/scmutil.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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