# HG changeset patch # User Pierre-Yves David # Date 1428094692 25200 # Node ID 9e558b788daa159df06de258478600e2bb60b77b # Parent 241d98d84aed9af404d86e04df6ab4e41fd2225d repoview: update documentation of _getstatichidden In 2f7cb6e6acdd, the function name, role and return was changed. But the documentation was not. This fixes it. diff -r 241d98d84aed -r 9e558b788daa mercurial/repoview.py --- a/mercurial/repoview.py Sat Apr 04 14:56:18 2015 +0900 +++ b/mercurial/repoview.py Fri Apr 03 13:58:12 2015 -0700 @@ -23,10 +23,16 @@ return obsolete.getrevs(repo, 'obsolete') def _getstatichidden(repo): - """Cacheable revisions blocking hidden changesets from being filtered. + """Revision to be hidden (disregarding dynamic blocker) - Additional non-cached hidden blockers are computed in _getdynamicblockers. - This is a standalone function to help extensions to wrap it.""" + To keep a consistent graph, we cannot hide any revisions with + non-hidden descendants. This function computes the set of + revisions that could be hidden while keeping the graph consistent. + + A second pass will be done to apply "dynamic blocker" like bookmarks or + working directory parents. + + """ assert not repo.changelog.filteredrevs hideable = hideablerevs(repo) if hideable: