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