Patchwork [6,of,6,V2] hidden: drop outdated comment about "dynamic" performance

login
register
mail settings
Submitter Pierre-Yves David
Date May 23, 2017, 8:02 p.m.
Message ID <95abe8013152c391cd8a.1495569754@nodosa.octopoid.net>
Download mbox | patch
Permalink /patch/20869/
State Changes Requested
Headers show

Comments

Pierre-Yves David - May 23, 2017, 8:02 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1495374962 -7200
#      Sun May 21 15:56:02 2017 +0200
# Node ID 95abe8013152c391cd8ae1540919de3153f1fe93
# Parent  66479a8be5d5adffd59d9b7a07f1d89a54ef66f4
# EXP-Topic fast-compute-hidden
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
#              hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 95abe8013152
hidden: drop outdated comment about "dynamic" performance

This comment is now irrelevant since we have a faster algorithm and no cache.

Patch

diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -29,11 +29,8 @@  def hideablerevs(repo):
     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()