convert: directly use repo.vfs.join
The 'repo.join' method is about to be deprecated.
--- 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()