Comments
Patch
@@ -42,6 +42,7 @@
<File Id="internals.changegroups.txt" Name="changegroups.txt" />
<File Id="internals.requirements.txt" Name="requirements.txt" />
<File Id="internals.revlogs.txt" Name="revlogs.txt" />
+ <File Id="internals.wireprotocol.txt" Name="wireprotocol.txt" />
</Component>
</Directory>
@@ -192,6 +192,8 @@
loaddoc('requirements', subdir='internals')),
(['revlogs'], _('Revision Logs'),
loaddoc('revlogs', subdir='internals')),
+ (['wireprotocol'], _('Wire Protocol'),
+ loaddoc('wireprotocol', subdir='internals')),
])
def internalshelp(ui):
new file mode 100644
@@ -0,0 +1,11 @@
+The Mercurial wire protocol is a request-response based protocol
+with multiple wire representations.
+
+Each request is modeled as a command name, a dictionary of arguments, and
+optional raw input. Command arguments and their types are intrinsic
+properties of commands. So is the response type of the command. This means
+clients can't always send arbitrary arguments to servers and servers can't
+return multiple response types.
+
+The protocol is synchronous and does not support multiplexing (concurrent
+commands).
@@ -933,6 +933,7 @@
changegroups Changegroups
requirements Repository Requirements
revlogs Revision Logs
+ wireprotocol Wire Protocol
sub-topics can be accessed
@@ -2895,6 +2896,13 @@
</td><td>
Revision Logs
</td></tr>
+ <tr><td>
+ <a href="/help/internals.wireprotocol">
+ wireprotocol
+ </a>
+ </td><td>
+ Wire Protocol
+ </td></tr>