Show More
@@ -13,6 +13,7 b' import match as matchmod' | |||||
13 | from i18n import _ |
|
13 | from i18n import _ | |
14 | import encoding |
|
14 | import encoding | |
15 | import obsolete as obsmod |
|
15 | import obsolete as obsmod | |
|
16 | import repoview | |||
16 |
|
17 | |||
17 | def _revancestors(repo, revs, followfirst): |
|
18 | def _revancestors(repo, revs, followfirst): | |
18 | """Like revlog.ancestors(), but supports followfirst.""" |
|
19 | """Like revlog.ancestors(), but supports followfirst.""" | |
@@ -892,7 +893,8 b' def hidden(repo, subset, x):' | |||||
892 | """ |
|
893 | """ | |
893 | # i18n: "hidden" is a keyword |
|
894 | # i18n: "hidden" is a keyword | |
894 | getargs(x, 0, 0, _("hidden takes no arguments")) |
|
895 | getargs(x, 0, 0, _("hidden takes no arguments")) | |
895 | return [r for r in subset if r in repo.hiddenrevs] |
|
896 | hiddenrevs = repoview.filteredrevs(repo, 'hidden') | |
|
897 | return [r for r in subset if r in hiddenrevs] | |||
896 |
|
898 | |||
897 | def keyword(repo, subset, x): |
|
899 | def keyword(repo, subset, x): | |
898 | """``keyword(string)`` |
|
900 | """``keyword(string)`` |
General Comments 0
You need to be logged in to leave comments.
Login now