# HG changeset patch # User Pierre-Yves David # Date 2015-05-28 17:00:22 # Node ID 5a5b7046d00e353caa45783e409760907691c04b # Parent a4acf019dd5b72e91a1b1321d80d298033be8111 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. diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -1019,6 +1019,8 @@ class unbundlepart(unpackermixin): 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': (),