diff -r 4dfe4c21dd64 -r de7c772751b4 mercurial/commands.py --- a/mercurial/commands.py Tue Aug 14 21:36:08 2007 +0200 +++ b/mercurial/commands.py Wed Aug 15 16:43:40 2007 +0200 @@ -1188,9 +1188,9 @@ for fn in fns: if fn in skip: continue - fstate.setdefault(fn, {}) try: grepbody(fn, rev, getfile(fn).read(mf[fn])) + fstate.setdefault(fn, []) if follow: copied = getfile(fn).renamed(mf[fn]) if copied: