changeset 9391 | 2705e6816d33 |
parent 9373 | b34184c046ac |
child 9421 | c8e4dc218aaf |
--- a/mercurial/commands.py Wed Aug 26 13:07:27 2009 +0200 +++ b/mercurial/commands.py Mon Aug 24 21:00:34 2009 +0200 @@ -1323,11 +1323,11 @@ continue files.append(fn) - if not matches[rev].has_key(fn): + if fn not in matches[rev]: grepbody(fn, rev, flog.read(fnode)) pfn = copy or fn - if not matches[parent].has_key(pfn): + if pfn not in matches[parent]: try: fnode = pctx.filenode(pfn) grepbody(pfn, parent, flog.read(fnode))