changeset 31328:42a7195541a1

localrepo: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 05 Aug 2016 14:29:22 +0200
parents 1c3352d7eaf2
children 1b0db28dadf1
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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