# HG changeset patch # User Augie Fackler # Date 2017-05-18 22:01:48 # Node ID 7cd1fa9dfd74b636a977a4e6a4eeb1c89b5d8ad7 # Parent a275186b989a67a440624ac74a39a0b28e4f89cd localrepo: mark walk convenience method as deprecated (API) diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1879,6 +1879,7 @@ class localrepository(object): 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,