changeset 23726: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 (2015-01-02)
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
+++ b/mercurial/localrepo.py
@@ -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] == '/':