Mercurial > hg-stable
diff mercurial/revset.py @ 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 | 744d5b73f776 |
children | de544774ebea |
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")