Mercurial > hg
diff mercurial/localrepo.py @ 18253:a32255dee859
hidden: drop of the repo.hiddenrevs property
It does not have any user left
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Thu, 03 Jan 2013 18:52:59 +0100 |
parents | e3504d7ff760 |
children | 753acee7d6dd |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Jan 03 18:51:16 2013 +0100 +++ b/mercurial/localrepo.py Thu Jan 03 18:52:59 2013 +0100 @@ -350,23 +350,6 @@ self.ui.warn(msg % len(list(store))) return store - @property - @unfiltered - def hiddenrevs(self): - """hiddenrevs: revs that should be hidden by command and tools - - This set is carried on the repo to ease initialization and lazy - loading; it'll probably move back to changelog for efficiency and - consistency reasons. - - Note that the hiddenrevs will needs invalidations when - - a new changesets is added (possible unstable above extinct) - - a new obsolete marker is added (possible new extinct changeset) - - hidden changesets cannot have non-hidden descendants - """ - return repoview.filteredrevs(self, 'hidden') - @storecache('00changelog.i') def changelog(self): c = changelog.changelog(self.sopener)