mercurial/exchangev2.py
changeset 40176 41263df08109
parent 40173 b797150a1ab9
child 40179 b843356d4ae1
--- a/mercurial/exchangev2.py	Mon Oct 08 17:54:14 2018 -0700
+++ b/mercurial/exchangev2.py	Mon Oct 08 18:17:12 2018 -0700
@@ -105,7 +105,11 @@
     # to smaller segments, etc.
     with remote.commandexecutor() as e:
         objs = e.callcommand(b'changesetdata', {
-            b'noderange': [sorted(common), sorted(remoteheads)],
+            b'revisions': [{
+                b'type': b'changesetdagrange',
+                b'roots': sorted(common),
+                b'heads': sorted(remoteheads),
+            }],
             b'fields': {b'bookmarks', b'parents', b'phase', b'revision'},
         }).result()