Mercurial > hg-stable
changeset 35936:ed3a7300b7b5
localrepo: drop the deprecated walk() method (API)
.. api::
The deprecated localrepo.walk() has been removed, and replaced by
repo[node].walk().
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 03 Feb 2018 00:01:57 -0500 |
parents | 265e91da56fd |
children | 4b1c04082cdc |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Fri Feb 02 23:57:52 2018 -0500 +++ b/mercurial/localrepo.py Sat Feb 03 00:01:57 2018 -0500 @@ -2048,15 +2048,6 @@ # tag cache retrieval" case to work. self.invalidate() - def walk(self, match, node=None): - ''' - walk recursively through the directory tree or a given - changeset, finding all files matched by the match - function - ''' - self.ui.deprecwarn('use repo[node].walk instead of repo.walk', '4.3') - return self[node].walk(match) - def status(self, node1='.', node2=None, match=None, ignored=False, clean=False, unknown=False, listsubrepos=False):