changeset 25801: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 (2015-05-28)
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
+++ b/mercurial/bundle2.py
@@ -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': (),