diff mercurial/exchangev2.py @ 46711:a41565bef69f

changegroup: add v4 changegroup for revlog v2 exchange This change only adds the required infrastructure for the new changegroup format and does not do any actual exchange. This will be done in the next patches. Differential Revision: https://phab.mercurial-scm.org/D10026
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 18 Feb 2021 17:36:52 +0100
parents ee91966aec0f
children d55b71393907
line wrap: on
line diff
--- a/mercurial/exchangev2.py	Fri Feb 19 11:07:10 2021 +0100
+++ b/mercurial/exchangev2.py	Thu Feb 18 17:36:52 2021 +0100
@@ -417,6 +417,8 @@
                 mdiff.trivialdiffheader(len(data)) + data,
                 # Flags not yet supported.
                 0,
+                # Sidedata not yet supported
+                {},
             )
 
     cl.addgroup(
@@ -496,6 +498,8 @@
                 delta,
                 # Flags not yet supported.
                 0,
+                # Sidedata not yet supported.
+                {},
             )
 
             progress.increment()
@@ -621,6 +625,8 @@
                 delta,
                 # Flags not yet supported.
                 0,
+                # Sidedata not yet supported.
+                {},
             )
 
             progress.increment()
@@ -719,6 +725,8 @@
                 delta,
                 # Flags not yet supported.
                 0,
+                # Sidedata not yet supported.
+                {},
             )
 
             progress.increment()