Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
25490:ad14fb602e5e | 25491:8cd0159207df |
---|---|
1104 self._pos = newpos | 1104 self._pos = newpos |
1105 | 1105 |
1106 # These are only the static capabilities. | 1106 # These are only the static capabilities. |
1107 # Check the 'getrepocaps' function for the rest. | 1107 # Check the 'getrepocaps' function for the rest. |
1108 capabilities = {'HG20': (), | 1108 capabilities = {'HG20': (), |
1109 'error': ('abort', 'unsupportedcontent', 'pushraced'), | |
1109 'listkeys': (), | 1110 'listkeys': (), |
1110 'pushkey': (), | 1111 'pushkey': (), |
1111 'digests': tuple(sorted(util.DIGESTS.keys())), | 1112 'digests': tuple(sorted(util.DIGESTS.keys())), |
1112 'remote-changegroup': ('http', 'https'), | 1113 'remote-changegroup': ('http', 'https'), |
1113 'hgtagsfnodes': (), | 1114 'hgtagsfnodes': (), |