[PATCH 4 of 4 V3-Series-A] hidden: drop of the repo.hiddenrevs property
pierre-yves.david at logilab.fr
pierre-yves.david at logilab.fr
Tue Jan 8 12:16:59 CST 2013
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at logilab.fr>
# Date 1357235579 -3600
# Node ID a32255dee8599db1e1fdcca1a4d09f0ed25b6d60
# Parent 3f1552c6bf714aafc6cca56d6224ae638213da83
hidden: drop of the repo.hiddenrevs property
It does not have any user left
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -348,27 +348,10 @@ class localrepository(object):
# message is rare enough to not be translated
msg = 'obsolete feature not enabled but %i markers found!\n'
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)
if 'HG_PENDING' in os.environ:
p = os.environ['HG_PENDING']
More information about the Mercurial-devel
mailing list