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.
--- 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"