mercurial/revlog.py
changeset 51009 39fa0b948f5a
parent 51008 273434748051
child 51010 569eb5d0420d
--- a/mercurial/revlog.py	Tue Sep 19 23:09:29 2023 +0200
+++ b/mercurial/revlog.py	Tue Sep 19 23:10:05 2023 +0200
@@ -894,7 +894,7 @@
         except KeyError:
             return False
 
-    def candelta(self, baserev, rev):
+    def _candelta(self, baserev, rev):
         """whether two revisions (baserev, rev) can be delta-ed or not"""
         # Disable delta if either rev requires a content-changing flag
         # processor (ex. LFS). This is because such flag processor can alter
@@ -3105,7 +3105,7 @@
             nodesorder,
             revlogrevisiondelta,
             deltaparentfn=self.deltaparent,
-            candeltafn=self.candelta,
+            candeltafn=self._candelta,
             rawsizefn=self.rawsize,
             revdifffn=self.revdiff,
             flagsfn=self.flags,