mercurial/commands.py
changeset 5105 64888ff907f4
parent 5083 f94dbc6c7eaf
child 5171 de7c772751b4
child 5222 cbe6e263357b
--- a/mercurial/commands.py	Thu Aug 02 14:51:49 2007 +0200
+++ b/mercurial/commands.py	Wed Aug 15 16:09:04 2007 +0200
@@ -1204,9 +1204,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: