transplant: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:52:49 -0800
changeset 31336 0199686a1a1c
parent 31335 3acc7af5859c
child 31337 ec7831675867
transplant: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
hgext/transplant.py
--- a/hgext/transplant.py	Wed Mar 08 16:52:42 2017 -0800
+++ b/hgext/transplant.py	Wed Mar 08 16:52:49 2017 -0800
@@ -103,7 +103,7 @@
 class transplanter(object):
     def __init__(self, ui, repo, opts):
         self.ui = ui
-        self.path = repo.join('transplant')
+        self.path = repo.vfs.join('transplant')
         self.opener = vfsmod.vfs(self.path)
         self.transplants = transplants(self.path, 'transplants',
                                        opener=self.opener)