--- a/obsolete.py Wed Sep 07 12:42:26 2011 +0200
+++ b/obsolete.py Wed Sep 07 18:39:02 2011 +0200
@@ -28,7 +28,7 @@
# hack to fill hiddenrevs
# compute hidden (XXX should move elsewhere)
if not getattr(ctx._repo.changelog, 'hiddeninit', False):
- basicquery = 'obsolete() - (ancestors(not obsolete()))'
+ basicquery = 'obsolete() - (ancestors(not obsolete() or . or bookmark()))'
for rev in scmutil.revrange(ctx._repo, [basicquery]):
ctx._repo.changelog.hiddenrevs.add(rev)
ctx._repo.changelog.hiddeninit = True