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

pierre-yves.david at logilab.fr pierre-yves.david at logilab.fr
Tue Jan 8 13:28:54 UTC 2013


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