diff mercurial/bundlerepo.py @ 42510:3472a3f9d785 stable

localrepo: introduce a `_refreshchangelog` method See next changeset for usage and documentation for details.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 21 Jun 2019 03:50:06 +0200
parents 3913223417ea
children 161d39e9be4b
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Wed Jun 19 17:26:19 2019 +0200
+++ b/mercurial/bundlerepo.py	Fri Jun 21 03:50:06 2019 +0200
@@ -365,6 +365,11 @@
         self.manstart = self._cgunpacker.tell()
         return c
 
+    def _refreshchangelog(self):
+        # changelog for bundle repo are not filecache, this method is not
+        # applicable.
+        pass
+
     @localrepo.unfilteredpropertycache
     def manifestlog(self):
         self._cgunpacker.seek(self.manstart)