D4659: filelog: stop proxying _addrevision() (API)

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Sep 19 02:34:21 UTC 2018


indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  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
  (https://phab.mercurial-scm.org/rHG1541e1a8e87de9bd6b869ed498ad8e9b93c59d4d) didn't appear to have any callers in the repo either.
  Who knows.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4659

AFFECTED FILES
  mercurial/filelog.py

CHANGE DETAILS

diff --git a/mercurial/filelog.py b/mercurial/filelog.py
--- a/mercurial/filelog.py
+++ b/mercurial/filelog.py
@@ -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."""
 



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list