# HG changeset patch # User FUJIWARA Katsunori # Date 1341567927 -32400 # Node ID 60338880d26500a878e77e982ce2017f7225a616 # Parent 87e8440964a01b01ed5d87a2dbe23242bea5bfee localrepo: use "self.wvfs.join()" instead of "os.path.join()" As a part of migration to vfs, this patch uses "self.wvfs.join()" instead of "os.path.join()", while initialization of fields in the constructor of "localrepository" class. diff -r 87e8440964a0 -r 60338880d265 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Jul 06 18:45:27 2012 +0900 +++ b/mercurial/localrepo.py Fri Jul 06 18:45:27 2012 +0900 @@ -40,7 +40,7 @@ self.wopener = scmutil.opener(path, expand=True) self.wvfs = self.wopener self.root = self.wvfs.base - self.path = os.path.join(self.root, ".hg") + self.path = self.wvfs.join(".hg") self.origroot = path self.auditor = scmutil.pathauditor(self.root, self._checknested) self.opener = scmutil.opener(self.path)