# HG changeset patch
# User Matt Harbison <matt_harbi...@yahoo.com>
# Date 1517634117 18000
#      Sat Feb 03 00:01:57 2018 -0500
# Node ID b616b6a43ffd812a80348162ca499060278baf5e
# Parent  7f21211d4bf3e9cd7a21b2c2bd1fabb69b9b7e94
localrepo: drop the deprecated walk() method (API)

.. api::

   The deprecated localrepo.walk() has been removed, and replaced by
   repo[node].walk().

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -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):
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to