changeset 32403:7cd1fa9dfd74

localrepo: mark walk convenience method as deprecated (API)
author Augie Fackler <augie@google.com>
date Thu, 18 May 2017 18:01:48 -0400
parents a275186b989a
children b2b5605285ec
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,