journal: directly use repo.vfs.join

The 'repo.join' method is about to be deprecated.
This commit is contained in:
Pierre-Yves David 2017-03-08 16:51:49 -08:00
parent a1d4a95c88
commit 3cf7472262

View File

@ -163,7 +163,7 @@ def unsharejournal(orig, ui, repo, repopath):
# 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(