mercurial/context.py
changeset 14644 f3a40fd7008c
parent 14528 0bd69e37fd20
child 14669 2d2604adfdd6
--- a/mercurial/context.py	Thu Jun 16 01:57:53 2011 +0200
+++ b/mercurial/context.py	Thu Jun 16 01:57:59 2011 +0200
@@ -116,6 +116,8 @@
         return self._repo.nodetags(self._node)
     def bookmarks(self):
         return self._repo.nodebookmarks(self._node)
+    def hidden(self):
+        return self._rev in self._repo.changelog.hiddenrevs
 
     def parents(self):
         """return contexts for each parent changeset"""