diff mercurial/localrepo.py @ 32364: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 9742f937c971
children b9942bc6b292
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,