bundle2: add an informative comment to the capability dict
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 28 May 2015 10:00:22 -0700
changeset 25317 5a5b7046d00e
parent 25316 a4acf019dd5b
child 25318 64dd8f25fcf4
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.
mercurial/bundle2.py
--- 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': (),