convert: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:51:25 -0800
changeset 31336 e59960ea8dcc
parent 31335 f28f2ac65c66
child 31337 ab45421285d0
convert: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
hgext/convert/hg.py
--- a/hgext/convert/hg.py	Wed Mar 08 16:53:55 2017 -0800
+++ b/hgext/convert/hg.py	Wed Mar 08 16:51:25 2017 -0800
@@ -90,10 +90,10 @@
             self.wlock.release()
 
     def revmapfile(self):
-        return self.repo.join("shamap")
+        return self.repo.vfs.join("shamap")
 
     def authorfile(self):
-        return self.repo.join("authormap")
+        return self.repo.vfs.join("authormap")
 
     def setbranch(self, branch, pbranches):
         if not self.clonebranches:
@@ -625,7 +625,7 @@
 
     def converted(self, rev, destrev):
         if self.convertfp is None:
-            self.convertfp = open(self.repo.join('shamap'), 'a')
+            self.convertfp = open(self.repo.vfs.join('shamap'), 'a')
         self.convertfp.write('%s %s\n' % (destrev, rev))
         self.convertfp.flush()