diff mercurial/bundle2.py @ 25491:8cd0159207df

bundle2: add an 'error' capability This capability will be extended as new error type is introduced.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 06 Jun 2015 00:32:19 -0700
parents a5192774e925
children 219b8ab31220
line wrap: on
line diff
--- a/mercurial/bundle2.py	Tue Jun 09 13:21:20 2015 -0500
+++ b/mercurial/bundle2.py	Sat Jun 06 00:32:19 2015 -0700
@@ -1106,6 +1106,7 @@
 # These are only the static capabilities.
 # Check the 'getrepocaps' function for the rest.
 capabilities = {'HG20': (),
+                'error': ('abort', 'unsupportedcontent', 'pushraced'),
                 'listkeys': (),
                 'pushkey': (),
                 'digests': tuple(sorted(util.DIGESTS.keys())),