mercurial/context.py
changeset 6829 fec1da46006e
parent 6827 c978d6752dbb
child 6845 835a01a0cdb3
--- a/mercurial/context.py	Tue Jul 22 13:03:20 2008 -0500
+++ b/mercurial/context.py	Tue Jul 22 13:03:21 2008 -0500
@@ -598,8 +598,7 @@
         return self._parents[0].ancestor(c2) # punt on two parents for now
 
     def walk(self, match):
-        for fn, st in util.sort(self._repo.dirstate.walk(match, True, False)):
-            yield fn
+        return util.sort(self._repo.dirstate.walk(match, True, False).keys())
 
 class workingfilectx(filectx):
     """A workingfilectx object makes access to data related to a particular