diff mercurial/localrepo.py @ 6587:a259e217bc0c

walk: make dirstate.walk return a single value too
author Matt Mackall <mpm@selenic.com>
date Mon, 12 May 2008 11:37:08 -0500
parents d3463007d368
children 41eb20cc1c02
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
@@ -961,7 +961,7 @@
                         and match(fn):
                     yield fn
         else:
-            for src, fn in self.dirstate.walk(match):
+            for fn in self.dirstate.walk(match):
                 yield fn
 
     def status(self, node1=None, node2=None, files=[], match=util.always,