# HG changeset patch # User Angel Ezquerra # Date 2015-01-02 12:30:38 # Node ID e3a0e7e21f548a65d44510660e90414a238737ee # Parent 5f84695734f155839f8905dc22831e7d5a0746a4 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. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -768,7 +768,7 @@ class localrepository(object): 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] == '/':