Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 31319: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 | f84b0e926eb2 |
children | 7548522742b5 |
comparison
equal
deleted
inserted
replaced
31318:1c3352d7eaf2 | 31319:42a7195541a1 |
---|---|
276 # A list of callback to shape the phase if no data were found. | 276 # A list of callback to shape the phase if no data were found. |
277 # Callback are in the form: func(repo, roots) --> processed root. | 277 # Callback are in the form: func(repo, roots) --> processed root. |
278 # This list it to be filled by extension during repo setup | 278 # This list it to be filled by extension during repo setup |
279 self._phasedefaults = [] | 279 self._phasedefaults = [] |
280 try: | 280 try: |
281 self.ui.readconfig(self.join("hgrc"), self.root) | 281 self.ui.readconfig(self.vfs.join("hgrc"), self.root) |
282 self._loadextensions() | 282 self._loadextensions() |
283 except IOError: | 283 except IOError: |
284 pass | 284 pass |
285 | 285 |
286 if self.featuresetupfuncs: | 286 if self.featuresetupfuncs: |