# HG changeset patch # User Pierre-Yves David # Date 1470398944 -7200 # Node ID 7548522742b5f4f9f5c0881ae4a2783ecda2f969 # Parent 06440ba06bc08b81da92353ab0b12407801f4fcc 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. diff -r 06440ba06bc0 -r 7548522742b5 mercurial/localrepo.py --- 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):