##// END OF EJS Templates
help: internals topic for wire protocol...
Gregory Szorc -
r29859:a1092e2d default
parent child Browse files
Show More
@@ -0,0 +1,11 b''
1 The Mercurial wire protocol is a request-response based protocol
2 with multiple wire representations.
3
4 Each request is modeled as a command name, a dictionary of arguments, and
5 optional raw input. Command arguments and their types are intrinsic
6 properties of commands. So is the response type of the command. This means
7 clients can't always send arbitrary arguments to servers and servers can't
8 return multiple response types.
9
10 The protocol is synchronous and does not support multiplexing (concurrent
11 commands).
@@ -42,6 +42,7 b''
42 <File Id="internals.changegroups.txt" Name="changegroups.txt" />
42 <File Id="internals.changegroups.txt" Name="changegroups.txt" />
43 <File Id="internals.requirements.txt" Name="requirements.txt" />
43 <File Id="internals.requirements.txt" Name="requirements.txt" />
44 <File Id="internals.revlogs.txt" Name="revlogs.txt" />
44 <File Id="internals.revlogs.txt" Name="revlogs.txt" />
45 <File Id="internals.wireprotocol.txt" Name="wireprotocol.txt" />
45 </Component>
46 </Component>
46 </Directory>
47 </Directory>
47
48
@@ -192,6 +192,8 b' internalstable = sorted(['
192 loaddoc('requirements', subdir='internals')),
192 loaddoc('requirements', subdir='internals')),
193 (['revlogs'], _('Revision Logs'),
193 (['revlogs'], _('Revision Logs'),
194 loaddoc('revlogs', subdir='internals')),
194 loaddoc('revlogs', subdir='internals')),
195 (['wireprotocol'], _('Wire Protocol'),
196 loaddoc('wireprotocol', subdir='internals')),
195 ])
197 ])
196
198
197 def internalshelp(ui):
199 def internalshelp(ui):
@@ -933,6 +933,7 b' internals topic renders index of availab'
933 changegroups Changegroups
933 changegroups Changegroups
934 requirements Repository Requirements
934 requirements Repository Requirements
935 revlogs Revision Logs
935 revlogs Revision Logs
936 wireprotocol Wire Protocol
936
937
937 sub-topics can be accessed
938 sub-topics can be accessed
938
939
@@ -2895,6 +2896,13 b' Sub-topic indexes rendered properly'
2895 </td><td>
2896 </td><td>
2896 Revision Logs
2897 Revision Logs
2897 </td></tr>
2898 </td></tr>
2899 <tr><td>
2900 <a href="/help/internals.wireprotocol">
2901 wireprotocol
2902 </a>
2903 </td><td>
2904 Wire Protocol
2905 </td></tr>
2898
2906
2899
2907
2900
2908
General Comments 0
You need to be logged in to leave comments. Login now