changeset 31345:0199686a1a1c

transplant: 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:52:49 -0800
parents 3acc7af5859c
children ec7831675867
files hgext/transplant.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)