# HG changeset patch # User Georg Brandl # Date 2010-06-13 21:25:27 # Node ID cf8a9154a362db3a8e6ab0afe37a5f27ba04ed87 # Parent ad0a334eef163df857c36fdca2bd4daadba9df99 revset: fix call to ctx.extra() in closed() diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -339,7 +339,7 @@ def merge(repo, subset, x): 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")