changeset 34649:586645e0589c

repoview: remove incorrect documentation of the function In repoview.py, computeunserved() and computemutable() functions had the same documentation. The documentation of computemutable() is wrong. I was unable to write documentation for the function but it's better to not having the documentation than having it wrong. Differential Revision: https://phab.mercurial-scm.org/D1016
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 10 Oct 2017 23:19:35 +0530
parents 4889b84b15f2
children 6c85f4e3d914
files mercurial/repoview.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/repoview.py	Thu Oct 12 09:34:58 2017 -0700
+++ b/mercurial/repoview.py	Tue Oct 10 23:19:35 2017 +0530
@@ -99,9 +99,6 @@
         return hiddens
 
 def computemutable(repo):
-    """compute the set of revision that should be filtered when used a server
-
-    Secret and hidden changeset should not pretend to be here."""
     assert not repo.changelog.filteredrevs
     # fast check to avoid revset call on huge repo
     if any(repo._phasecache.phaseroots[1:]):