diff mercurial/repository.py @ 39262:3682b49e0213

repository: remove candelta() from ifileindex candelta() was previously called by changegroup code. With delta generation moved to the storage API, there are no more external consumers of this method and it can be removed from the storage interface. Differential Revision: https://phab.mercurial-scm.org/D4236
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 09 Aug 2018 19:27:54 -0700
parents 0a5b20c107a6
children 43387fd2aa1f
line wrap: on
line diff
--- a/mercurial/repository.py	Thu Aug 09 19:30:36 2018 -0700
+++ b/mercurial/repository.py	Thu Aug 09 19:27:54 2018 -0700
@@ -552,9 +552,6 @@
     def deltaparent(rev):
         """"Return the revision that is a suitable parent to delta against."""
 
-    def candelta(baserev, rev):
-        """"Whether a delta can be generated between two revisions."""
-
 class ifiledata(interfaceutil.Interface):
     """Storage interface for data storage of a specific file.