hgext/journal.py
changeset 31330 74ee10702bbf
parent 30131 85d5708eae4e
child 31600 809fa1d7eb99
--- 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(