keyword: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:51:57 -0800
changeset 31340 1d7e8eb8788b
parent 31339 74ee10702bbf
child 31341 a5ae1d79e271
keyword: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
hgext/keyword.py
--- 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: