# HG changeset patch # User Georg Brandl # Date 1276464327 -7200 # Node ID cf8a9154a362db3a8e6ab0afe37a5f27ba04ed87 # Parent ad0a334eef163df857c36fdca2bd4daadba9df99 revset: fix call to ctx.extra() in closed() diff -r ad0a334eef16 -r cf8a9154a362 mercurial/revset.py --- a/mercurial/revset.py Tue Jun 15 11:05:17 2010 +0200 +++ b/mercurial/revset.py Sun Jun 13 23:25:27 2010 +0200 @@ -339,7 +339,7 @@ def closed(repo, subset, x): getargs(x, 0, 0, "closed takes no arguments") - return [r for r in subset if repo[r].extra('close')] + return [r for r in subset if repo[r].extra().get('close')] def head(repo, subset, x): getargs(x, 0, 0, "head takes no arguments")