mercurial/revset.py
changeset 20479 c38e5556d87b
parent 20461 abd8e56a1038
child 20480 ada89e5b5b0c
equal deleted inserted replaced
20478:80628d4069be 20479:c38e5556d87b
   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.