comparison 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
comparison
equal deleted inserted replaced
6584:29c77e5dfb3c 6585:d3d1d39da2fa
929 finally: 929 finally:
930 if not valid: # don't save our updated dirstate 930 if not valid: # don't save our updated dirstate
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, match): 934 def walk(self, match, node=None):
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
938 function 938 function
939 939