Mercurial > hg
changeset 25317:5a5b7046d00e
bundle2: add an informative comment to the capability dict
It is fairly easy to get confused by capabilities "missing" from this dict. We
make it clear the dict is not the whole story.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 28 May 2015 10:00:22 -0700 |
parents | a4acf019dd5b |
children | 64dd8f25fcf4 |
files | mercurial/bundle2.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundle2.py Thu May 28 16:09:42 2015 -0500 +++ b/mercurial/bundle2.py Thu May 28 10:00:22 2015 -0700 @@ -1019,6 +1019,8 @@ raise util.Abort(_('Seek failed\n')) self._pos = newpos +# These are only the static capabilities. +# Check the 'getrepocaps' function for the rest. capabilities = {'HG20': (), 'listkeys': (), 'pushkey': (),