# HG changeset patch # User Pierre-Yves David # Date 2017-03-09 00:52:30 # Node ID 553680d1b65498edbcef187a406f2d41051b0b52 # Parent f897a088377cb2f3ba6525b7ce242575375af5dd share: directly use repo.vfs.join The 'repo.join' method is about to be deprecated. diff --git a/hgext/share.py b/hgext/share.py --- a/hgext/share.py +++ b/hgext/share.py @@ -113,7 +113,7 @@ def unshare(ui, repo): 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')