diff mercurial/interfaces/repository.py @ 46725:e8c11a2c96c0

delta: add sidedata field to revision delta When emitting revision delta, we need to also emit the sidedata information just added in the revlogv2 format if appropriate. Differential Revision: https://phab.mercurial-scm.org/D10027
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 18 Feb 2021 18:18:35 +0100
parents 7a93b7b3dc2d
children bc2519513ae0
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py	Thu Feb 18 17:36:52 2021 +0100
+++ b/mercurial/interfaces/repository.py	Thu Feb 18 18:18:35 2021 +0100
@@ -453,6 +453,10 @@
         """
     )
 
+    sidedata = interfaceutil.Attribute(
+        """Raw sidedata bytes for the given revision."""
+    )
+
 
 class ifilerevisionssequence(interfaceutil.Interface):
     """Contains index data for all revisions of a file.