repoview: remove incorrect documentation of the function
authorPulkit Goyal <7895pulkit@gmail.com>
Tue, 10 Oct 2017 23:19:35 +0530
changeset 34649 586645e0589c
parent 34648 4889b84b15f2
child 34650 6c85f4e3d914
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
mercurial/repoview.py
--- 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:]):