[PATCH] revset: fix call to ctx.extra() in closed()
Georg Brandl
georg at python.org
Sun Jun 13 16:25:59 CDT 2010
# HG changeset patch
# User Georg Brandl <georg at python.org>
# Date 1276464327 -7200
# Node ID c3225ab80a047ee948c87b03c2a47cb729cd1d46
# Parent 285bcf40e04bf8ec0980d3238a4d71e886054ed9
revset: fix call to ctx.extra() in closed()
diff -r 285bcf40e04b -r c3225ab80a04 mercurial/revset.py
--- a/mercurial/revset.py Fri Jun 11 18:54:10 2010 +0200
+++ b/mercurial/revset.py Sun Jun 13 23:25:27 2010 +0200
@@ -340,7 +340,7 @@
return [r for r in subset if cl.parentrevs(r)[1] != -1]
def closed(repo, subset, x):
- 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):
hs = set()
More information about the Mercurial-devel
mailing list