[PATCH 7 of 7 Series-A] hidden: drop of the repo.hiddenrevs property

pierre-yves.david at logilab.fr pierre-yves.david at logilab.fr
Mon Jan 7 12:30:39 CST 2013


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at logilab.fr>
# Date 1357235579 -3600
# Node ID 2006103eb29ac0c5ba6cf42b90ae0494a5d6da66
# Parent  b9cf7f963542657e622b4e4b08651598838b2b9c
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