diff mercurial/repository.py @ 39785:979e9f124caa

filelog: stop proxying headrevs() (API) The previous commit removed the last user of this method. It is redundant with heads() and adds little to no value other than convenience. Let's nuke it. Differential Revision: https://phab.mercurial-scm.org/D4663
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 18 Sep 2018 19:26:44 -0700
parents a6b3c4c1019f
children 97986c9c69d3
line wrap: on
line diff
--- a/mercurial/repository.py	Tue Sep 18 19:00:17 2018 -0700
+++ b/mercurial/repository.py	Tue Sep 18 19:26:44 2018 -0700
@@ -525,14 +525,6 @@
         If ``nullrev`` is in the set, this is equivalent to ``revs()``.
         """
 
-    def headrevs():
-        """Obtain a list of revision numbers that are DAG heads.
-
-        The list is sorted oldest to newest.
-
-        TODO determine if sorting is required.
-        """
-
     def heads(start=None, stop=None):
         """Obtain a list of nodes that are DAG heads, with control.