diff mercurial/dirstate.py @ 6572:4927cf61bdc1

walk: eliminate some default variables
author Matt Mackall <mpm@selenic.com>
date Mon, 12 May 2008 11:37:07 -0500
parents 31abcae33b4f
children 569761919450
line wrap: on
line diff
--- a/mercurial/dirstate.py	Thu May 08 18:36:45 2008 +0200
+++ b/mercurial/dirstate.py	Mon May 12 11:37:07 2008 -0500
@@ -416,12 +416,12 @@
                 return True
         return False
 
-    def walk(self, files=None, match=util.always, badmatch=None):
+    def walk(self, files, match, badmatch):
         # filter out the stat
         for src, f, st in self.statwalk(files, match, badmatch=badmatch):
             yield src, f
 
-    def statwalk(self, files=None, match=util.always, unknown=True,
+    def statwalk(self, files, match, unknown=True,
                  ignored=False, badmatch=None, directories=False):
         '''
         walk recursively through the directory tree, finding all files