changeset 31331:1d7e8eb8788b

keyword: 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 Wed, 08 Mar 2017 16:51:57 -0800
parents 74ee10702bbf
children a5ae1d79e271
files hgext/keyword.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/keyword.py	Wed Mar 08 16:51:49 2017 -0800
+++ b/hgext/keyword.py	Wed Mar 08 16:51:57 2017 -0800
@@ -438,7 +438,7 @@
             # simulate hgrc parsing
             rcmaps = '[keywordmaps]\n%s\n' % '\n'.join(args)
             repo.vfs.write('hgrc', rcmaps)
-            ui.readconfig(repo.join('hgrc'))
+            ui.readconfig(repo.vfs.join('hgrc'))
         kwmaps = dict(ui.configitems('keywordmaps'))
     elif opts.get('default'):
         if svn: