mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
journal: directly use repo.vfs.join
The 'repo.join' method is about to be deprecated.
This commit is contained in:
parent
a1d4a95c88
commit
3cf7472262
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user