Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 21660:e87d2a12d41b
bundle2: add ``pushkey`` support
After ``listkeys`` we can now include ``pushkey`` request in a bundle2. The part
uses a very simple scheme closest as possible to the current wireproto command
for ``pushkey``. We may eventually decide for a more sophisticated part format
before the protocol becomes final.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Tue, 27 May 2014 16:32:50 -0700 |
parents | 0ff44e06275d |
children | 99db956b88ab |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu May 29 15:23:25 2014 -0700 +++ b/mercurial/localrepo.py Tue May 27 16:32:50 2014 -0700 @@ -181,7 +181,8 @@ filtername = None bundle2caps = {'HG2X': (), - 'b2x:listkeys': ()} + 'b2x:listkeys': (), + 'b2x:pushkey': ()} # a list of (ui, featureset) functions. # only functions defined in module of enabled extensions are invoked