equal
deleted
inserted
replaced
520 """``closed()`` |
520 """``closed()`` |
521 Changeset is closed. |
521 Changeset is closed. |
522 """ |
522 """ |
523 # i18n: "closed" is a keyword |
523 # i18n: "closed" is a keyword |
524 getargs(x, 0, 0, _("closed takes no arguments")) |
524 getargs(x, 0, 0, _("closed takes no arguments")) |
525 return baseset([r for r in subset if repo[r].closesbranch()]) |
525 return lazyset(subset, lambda r: repo[r].closesbranch()) |
526 |
526 |
527 def contains(repo, subset, x): |
527 def contains(repo, subset, x): |
528 """``contains(pattern)`` |
528 """``contains(pattern)`` |
529 Revision contains a file matching pattern. See :hg:`help patterns` |
529 Revision contains a file matching pattern. See :hg:`help patterns` |
530 for information about file patterns. |
530 for information about file patterns. |