diff -r cd2216599c99 -r 730ca93ed788 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Oct 26 23:59:21 2006 -0500 +++ b/mercurial/cmdutil.py Fri Oct 27 00:38:42 2006 -0500 @@ -140,7 +140,7 @@ def walk(repo, pats=[], opts={}, node=None, head='', badmatch=None): files, matchfn, anypats = matchpats(repo, pats, opts, head) - exact = dict(zip(files, files)) + exact = dict.fromkeys(files) for src, fn in repo.walk(node=node, files=files, match=matchfn, badmatch=badmatch): yield src, fn, util.pathto(repo.getcwd(), fn), fn in exact