filelog: stop proxying _addrevision() (API)
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 18 Sep 2018 18:03:41 -0700
changeset 39781 87eeb6966220
parent 39780 6d6ddcfa62a6
child 39782 03bedf1d09fc
filelog: stop proxying _addrevision() (API) There are no callers of this API in core. And I'm not sure why this proxy was added in the first place, as the commit that added it (1541e1a8e87d) didn't appear to have any callers in the repo either. Who knows. Differential Revision: https://phab.mercurial-scm.org/D4659
mercurial/filelog.py
--- a/mercurial/filelog.py	Tue Sep 18 17:57:36 2018 -0700
+++ b/mercurial/filelog.py	Tue Sep 18 18:03:41 2018 -0700
@@ -214,9 +214,6 @@
 
         return self._revlog.clone(tr, destrevlog._revlog, **kwargs)
 
-    def _addrevision(self, *args, **kwargs):
-        return self._revlog._addrevision(*args, **kwargs)
-
 class narrowfilelog(filelog):
     """Filelog variation to be used with narrow stores."""