Mercurial > public > mercurial-scm > hg-stable
diff mercurial/scmutil.py @ 17681:a41fd730f230
scmutil: backout 83785bb56062 (issue3643)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 29 Sep 2012 11:57:16 -0500 |
parents | 8575f4a2126e |
children | ab23768746fd |
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