localrepo: drop the deprecated walk() method (API)
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 03 Feb 2018 00:01:57 -0500
changeset 35936 ed3a7300b7b5
parent 35935 265e91da56fd
child 35937 4b1c04082cdc
localrepo: drop the deprecated walk() method (API) .. api:: The deprecated localrepo.walk() has been removed, and replaced by repo[node].walk().
mercurial/localrepo.py
--- 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):