Mercurial > hg-stable
changeset 31382:7548522742b5
localrepo: deprecate 'repo.join' in favor of 'repo.vfs.join'
localrepo have an insane amount of method. Accessing the feature through the
vfs is not really harder and allow us to schedule that method for removal.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 05 Aug 2016 14:09:04 +0200 |
parents | 06440ba06bc0 |
children | d30fb3de4b40 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Mar 12 12:54:11 2017 -0700 +++ b/mercurial/localrepo.py Fri Aug 05 14:09:04 2016 +0200 @@ -932,6 +932,7 @@ return None def join(self, f, *insidef): + self.ui.deprecwarn("use 'repo.vfs.join' instead of 'repo.join'", '4.0') return self.vfs.join(os.path.join(f, *insidef)) def wjoin(self, f, *insidef):