Mercurial > hg-stable
changeset 11349:cf8a9154a362
revset: fix call to ctx.extra() in closed()
author | Georg Brandl <georg@python.org> |
---|---|
date | Sun, 13 Jun 2010 23:25:27 +0200 |
parents | ad0a334eef16 |
children | 5ea28187707e |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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")