Mercurial > hg
diff hgext/journal.py @ 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 | 85d5708eae4e |
children | 809fa1d7eb99 |
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(