Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
17433:1e104d8198d7 | 17434:038f4f0439d7 |
---|---|
304 consistency reason | 304 consistency reason |
305 | 305 |
306 Note that the hiddenrevs will needs invalidations when | 306 Note that the hiddenrevs will needs invalidations when |
307 - a new changesets is added (possible unstable above extinct) | 307 - a new changesets is added (possible unstable above extinct) |
308 - a new obsolete marker is added (possible new extinct changeset) | 308 - a new obsolete marker is added (possible new extinct changeset) |
309 | |
310 hidden changesets cannot have non-hidden descendants | |
309 """ | 311 """ |
310 hidden = set() | 312 hidden = set() |
311 if self.obsstore: | 313 if self.obsstore: |
312 ### hide extinct changeset that are not accessible by any mean | 314 ### hide extinct changeset that are not accessible by any mean |
313 hiddenquery = 'extinct() - ::(. + bookmark() + tagged())' | 315 hiddenquery = 'extinct() - ::(. + bookmark() + tagged())' |