diff mercurial/filelog.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 76f92d208f7a
children 97986c9c69d3
line wrap: on
line diff
--- a/mercurial/filelog.py	Tue Sep 18 19:00:17 2018 -0700
+++ b/mercurial/filelog.py	Tue Sep 18 19:26:44 2018 -0700
@@ -70,10 +70,6 @@
     def descendants(self, revs):
         return self._revlog.descendants(revs)
 
-    # Used by hgweb.
-    def headrevs(self):
-        return self._revlog.headrevs()
-
     def heads(self, start=None, stop=None):
         return self._revlog.heads(start, stop)