Show More
@@ -416,12 +416,12 b' class dirstate(object):' | |||||
416 | return True |
|
416 | return True | |
417 | return False |
|
417 | return False | |
418 |
|
418 | |||
419 |
def walk(self, files |
|
419 | def walk(self, files, match, badmatch): | |
420 | # filter out the stat |
|
420 | # filter out the stat | |
421 | for src, f, st in self.statwalk(files, match, badmatch=badmatch): |
|
421 | for src, f, st in self.statwalk(files, match, badmatch=badmatch): | |
422 | yield src, f |
|
422 | yield src, f | |
423 |
|
423 | |||
424 |
def statwalk(self, files |
|
424 | def statwalk(self, files, match, unknown=True, | |
425 | ignored=False, badmatch=None, directories=False): |
|
425 | ignored=False, badmatch=None, directories=False): | |
426 | ''' |
|
426 | ''' | |
427 | walk recursively through the directory tree, finding all files |
|
427 | walk recursively through the directory tree, finding all files |
@@ -931,7 +931,7 b' class localrepository(repo.repository):' | |||||
931 | self.dirstate.invalidate() |
|
931 | self.dirstate.invalidate() | |
932 | del tr, lock, wlock |
|
932 | del tr, lock, wlock | |
933 |
|
933 | |||
934 |
def walk(self, node |
|
934 | def walk(self, node, files, match, badmatch): | |
935 | ''' |
|
935 | ''' | |
936 | walk recursively through the directory tree or a given |
|
936 | walk recursively through the directory tree or a given | |
937 | changeset, finding all files matched by the match |
|
937 | changeset, finding all files matched by the match | |
@@ -970,7 +970,7 b' class localrepository(repo.repository):' | |||||
970 | self.ui.warn(_('%s: No such file in rev %s\n') |
|
970 | self.ui.warn(_('%s: No such file in rev %s\n') | |
971 | % (self.pathto(fn), short(node))) |
|
971 | % (self.pathto(fn), short(node))) | |
972 | else: |
|
972 | else: | |
973 |
for src, fn in self.dirstate.walk(files, match, badmatch |
|
973 | for src, fn in self.dirstate.walk(files, match, badmatch): | |
974 | yield src, fn |
|
974 | yield src, fn | |
975 |
|
975 | |||
976 | def status(self, node1=None, node2=None, files=[], match=util.always, |
|
976 | def status(self, node1=None, node2=None, files=[], match=util.always, |
General Comments 0
You need to be logged in to leave comments.
Login now