comparison mercurial/localrepo.py @ 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 9742f937c971
children b9942bc6b292
comparison
equal deleted inserted replaced
32402:a275186b989a 32403:7cd1fa9dfd74
1877 ''' 1877 '''
1878 walk recursively through the directory tree or a given 1878 walk recursively through the directory tree or a given
1879 changeset, finding all files matched by the match 1879 changeset, finding all files matched by the match
1880 function 1880 function
1881 ''' 1881 '''
1882 self.ui.deprecwarn('use repo[node].walk instead of repo.walk', '4.3')
1882 return self[node].walk(match) 1883 return self[node].walk(match)
1883 1884
1884 def status(self, node1='.', node2=None, match=None, 1885 def status(self, node1='.', node2=None, match=None,
1885 ignored=False, clean=False, unknown=False, 1886 ignored=False, clean=False, unknown=False,
1886 listsubrepos=False): 1887 listsubrepos=False):