localrepo: mark walk convenience method as deprecated (API)
authorAugie Fackler <augie@google.com>
Thu, 18 May 2017 18:01:48 -0400
changeset 32364 7cd1fa9dfd74
parent 32363 a275186b989a
child 32365 b2b5605285ec
localrepo: mark walk convenience method as deprecated (API)
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu May 18 18:01:01 2017 -0400
+++ b/mercurial/localrepo.py	Thu May 18 18:01:48 2017 -0400
@@ -1879,6 +1879,7 @@
         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,