diff mercurial/wireproto.py @ 26690:704818fb170d

exchange: advertise if a clone bundle was attempted The client now sends a "cbattempted" boolean flag to the "getbundle" wire protocol command to tell the server whether a clone bundle was attempted. The presence of this flag will enable the server to conditionally emit a bundle2 "output" part advertising the availability of clone bundles to compatible clients that don't have it enabled.
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 14 Oct 2015 10:36:20 -0700
parents 3e7f675628ad
children e5a1df51bb25
line wrap: on
line diff
--- a/mercurial/wireproto.py	Tue Oct 13 14:55:02 2015 -0700
+++ b/mercurial/wireproto.py	Wed Oct 14 10:36:20 2015 -0700
@@ -160,7 +160,8 @@
              'obsmarkers': 'boolean',
              'bundlecaps': 'scsv',
              'listkeys': 'csv',
-             'cg': 'boolean'}
+             'cg': 'boolean',
+             'cbattempted': 'boolean'}
 
 # client side