mercurial/httppeer.py
changeset 52520 1554bd50a1af
parent 51859 f4733654f144
child 52521 b52f2b365eff
--- a/mercurial/httppeer.py	Mon Dec 16 02:10:46 2024 -0500
+++ b/mercurial/httppeer.py	Mon Dec 16 02:41:24 2024 -0500
@@ -437,11 +437,13 @@
 
     # End of ipeerconnection interface.
 
-    # Begin of ipeercommands interface.
+    # Begin of ipeercapabilities interface.
 
     def capabilities(self):
         return self._caps
 
+    # End of ipeercapabilities interface.
+
     def _finish_inline_clone_bundle(self, stream):
         # HTTP streams must hit the end to process the last empty
         # chunk of Chunked-Encoding so the connection can be reused.
@@ -449,8 +451,6 @@
         if chunk:
             self._abort(error.ResponseError(_(b"unexpected response:"), chunk))
 
-    # End of ipeercommands interface.
-
     def _callstream(self, cmd, _compressible=False, **args):
         args = pycompat.byteskwargs(args)