Commits

Pierre-Yves David committed 99c131e

Do not hide current and bookmarked

  • Participants
  • Parent commits b9a5a59
  • Branches default

Comments (0)

Files changed (1)

     # 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