mercurial/commands.py
changeset 5171 de7c772751b4
parent 5156 49554ba98951
parent 5105 64888ff907f4
child 5177 92236732d5a1
--- 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: