diff mercurial/localrepo.py @ 6585:d3d1d39da2fa

walk: remove cmdutil.walk
author Matt Mackall <mpm@selenic.com>
date Mon, 12 May 2008 11:37:08 -0500
parents 3951e04ea989
children d3463007d368
line wrap: on
line diff
--- a/mercurial/localrepo.py	Mon May 12 11:37:08 2008 -0500
+++ b/mercurial/localrepo.py	Mon May 12 11:37:08 2008 -0500
@@ -931,7 +931,7 @@
                 self.dirstate.invalidate()
             del tr, lock, wlock
 
-    def walk(self, node, match):
+    def walk(self, match, node=None):
         '''
         walk recursively through the directory tree or a given
         changeset, finding all files matched by the match