journal: directly use repo.vfs.join
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 08 Mar 2017 16:51:49 -0800
changeset 31330 74ee10702bbf
parent 31329 6ce67d3941fc
child 31331 1d7e8eb8788b
journal: directly use repo.vfs.join The 'repo.join' method is about to be deprecated.
hgext/journal.py
--- a/hgext/journal.py	Wed Mar 08 16:51:43 2017 -0800
+++ b/hgext/journal.py	Wed Mar 08 16:51:49 2017 -0800
@@ -163,7 +163,7 @@
             # to copy. move shared date over from source to destination but
             # move the local file first
             if repo.vfs.exists('namejournal'):
-                journalpath = repo.join('namejournal')
+                journalpath = repo.vfs.join('namejournal')
                 util.rename(journalpath, journalpath + '.bak')
             storage = repo.journal
             local = storage._open(