Mercurial > public > mercurial-scm > hg-stable
diff mercurial/wireproto.py @ 21657:0ff44e06275d
getbundle: support of listkeys argument when bundle2 is used
A new ``listkeys`` is supported by getbundle. It is a list of namespaces whose
content should be included in the bundle.
An appropriate entry has been added to the wireproto map of getbundle arguments
and a new bundle2 capability is advertised.
There are still no codes that request such parts in core mercurial.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 27 May 2014 15:43:09 -0700 |
parents | 4188cae727ce |
children | 0f73ed629362 |
line wrap: on
line diff
--- a/mercurial/wireproto.py Thu May 29 14:59:22 2014 -0700 +++ b/mercurial/wireproto.py Tue May 27 15:43:09 2014 -0700 @@ -202,7 +202,8 @@ # :plain: string with no transformation needed. gboptsmap = {'heads': 'nodes', 'common': 'nodes', - 'bundlecaps': 'csv'} + 'bundlecaps': 'csv', + 'listkeys': 'csv'} # client side