diff mercurial/localrepo.py @ 17434:038f4f0439d7

test: remove invalid hidden rev in graphlog test The hidden set of revision can not have descendant outside this set. The extension is patched to raise and exception when this happen.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 30 Aug 2012 22:13:24 +0200
parents 57c6c24b9bc4
children fb72eec7efd8
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Aug 29 21:26:39 2012 +0200
+++ b/mercurial/localrepo.py	Thu Aug 30 22:13:24 2012 +0200
@@ -306,6 +306,8 @@
         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
         """
         hidden = set()
         if self.obsstore: