Mercurial > hg-stable
changeset 31343:553680d1b654
share: 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:52:30 -0800 |
parents | f897a088377c |
children | 3acc7af5859c |
files | hgext/share.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/share.py Wed Mar 08 16:52:16 2017 -0800 +++ b/hgext/share.py Wed Mar 08 16:52:30 2017 -0800 @@ -113,7 +113,7 @@ destlock = hg.copystore(ui, repo, repo.path) - sharefile = repo.join('sharedpath') + sharefile = repo.vfs.join('sharedpath') util.rename(sharefile, sharefile + '.old') repo.requirements.discard('shared')