836 """ |
836 """ |
837 s = getset(repo, subset, x) |
837 s = getset(repo, subset, x) |
838 ps = set(parents(repo, subset, x)) |
838 ps = set(parents(repo, subset, x)) |
839 return [r for r in s if r not in ps] |
839 return [r for r in s if r not in ps] |
840 |
840 |
|
841 def hidden(repo, subset, x): |
|
842 """``hidden()`` |
|
843 Hidden changesets. |
|
844 """ |
|
845 # i18n: "hidden" is a keyword |
|
846 getargs(x, 0, 0, _("hidden takes no arguments")) |
|
847 return [r for r in subset if r in repo.hiddenrevs] |
|
848 |
841 def keyword(repo, subset, x): |
849 def keyword(repo, subset, x): |
842 """``keyword(string)`` |
850 """``keyword(string)`` |
843 Search commit message, user name, and names of changed files for |
851 Search commit message, user name, and names of changed files for |
844 string. The match is case-insensitive. |
852 string. The match is case-insensitive. |
845 """ |
853 """ |