# HG changeset patch # User Pierre-Yves David # Date 1308182273 -7200 # Node ID 7e295dd10d40a30aa84c99d864efce4baf38b23c # Parent fdcdb221a9222a1d7a9fe0b7204e0986e7944434 hidden: Add a hiddenrevs attributes to changelog. This attributes hold the set of all revisions that should be ommited by command and tools displaying changesets. This set is given as a hit. Command and tools are responsible to check it in order to filter they outpur. Code adding revisions to the set are responsible to the consistency of it's data. diff -r fdcdb221a922 -r 7e295dd10d40 mercurial/changelog.py --- a/mercurial/changelog.py Thu Jun 16 13:24:44 2011 -0500 +++ b/mercurial/changelog.py Thu Jun 16 01:57:53 2011 +0200 @@ -107,6 +107,8 @@ self._realopener = opener self._delayed = False self._divert = False + # hiddenrevs: revs that should be hidden by command and tools + self.hiddenrevs = set() def delayupdate(self): "delay visibility of index updates to other readers"