Mercurial > hg
changeset 31330:74ee10702bbf
journal: 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:51:49 -0800 |
parents | 6ce67d3941fc |
children | 1d7e8eb8788b |
files | hgext/journal.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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(