hidden: drop outdated comment about "dynamic" performance
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 21 May 2017 15:56:02 +0200
changeset 37693 43ae9e6eaabaeeb8c070dd04a6280180745b5256
parent 37692 4c5bc7cbd98943c47a38c157060fa6683ed6542a
child 37694 a87dabb053d0bc17fb34e1bf0512c5a25f8b0b4b
push id525
push usergszorc@mozilla.com
push dateFri, 09 Jun 2017 06:37:32 +0000
hidden: drop outdated comment about "dynamic" performance This comment is now irrelevant since we have a faster algorithm and no cache.
mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -24,21 +24,18 @@ def hideablerevs(repo):
 
     Because we use the set of immutable changesets as a fallback subset in
     branchmap (see mercurial.branchmap.subsettable), you cannot set "public"
     changesets as "hideable". Doing so would break multiple code assertions and
     lead to crashes."""
     return obsolete.getrevs(repo, 'obsolete')
 
 def revealedrevs(repo):
-    """Non-cacheable revisions blocking hidden changesets from being filtered.
-
-    Get revisions that will block hidden changesets and are likely to change,
-    but unlikely to create hidden blockers. They won't be cached, so be careful
-    with adding additional computation."""
+    """non-cacheable revisions blocking hidden changesets from being filtered
+    """
 
     cl = repo.changelog
     blockers = set()
     blockers.update([par.rev() for par in repo[None].parents()])
     blockers.update([cl.rev(bm) for bm in repo._bookmarks.values()])
 
     tags = {}
     tagsmod.readlocaltags(repo.ui, repo, tags, {})