Mercurial > hg-stable
changeset 23714:e3a0e7e21f54
localrepo: use vfs.reljoin rather than os.path.join in the localrepository class
The removes the last remaining usage of os.path.join inside teh localrepository
class.
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Fri, 02 Jan 2015 13:30:38 +0100 |
parents | 5f84695734f1 |
children | eee55c09010a |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Nov 26 19:28:11 2014 -0500 +++ b/mercurial/localrepo.py Fri Jan 02 13:30:38 2015 +0100 @@ -768,7 +768,7 @@ return self.vfs.join(os.path.join(f, *insidef)) def wjoin(self, f, *insidef): - return os.path.join(self.root, f, *insidef) + return self.vfs.reljoin(self.root, f, *insidef) def file(self, f): if f[0] == '/':