localrepo: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Fri, 05 Aug 2016 14:29:22 +0200
changeset 31319 42a7195541a1
parent 31318 1c3352d7eaf2
child 31320 1b0db28dadf1
localrepo: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Sun Mar 12 07:09:18 2017 +0530
+++ b/mercurial/localrepo.py	Fri Aug 05 14:29:22 2016 +0200
@@ -278,7 +278,7 @@
         # This list it to be filled by extension during repo setup
         self._phasedefaults = []
         try:
-            self.ui.readconfig(self.join("hgrc"), self.root)
+            self.ui.readconfig(self.vfs.join("hgrc"), self.root)
             self._loadextensions()
         except IOError:
             pass