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

login
register
mail settings
Submitter Pierre-Yves David
Date Jan. 7, 2013, 6:30 p.m.
Message ID <2006103eb29ac0c5ba6c.1357583439@crater2.logilab.fr>
Download mbox | patch
Permalink /patch/495/
State Accepted
Commit a32255dee8599db1e1fdcca1a4d09f0ed25b6d60
Headers show

Comments

Pierre-Yves David - Jan. 7, 2013, 6:30 p.m.
# 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

Patch

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']