Documentation/Source/eric5.Plugins.VcsPlugins.vcsMercurial.HgClient.html

changeset 2966
f85f686981ad
parent 2387
2d119e79ab54
child 3555
43473ba956ce
equal deleted inserted replaced
2965:d133c7edd88a 2966:f85f686981ad
137 maximum length of the requested input (integer) 137 maximum length of the requested input (integer)
138 </dd><dt><i>message</i></dt> 138 </dd><dt><i>message</i></dt>
139 <dd> 139 <dd>
140 message sent by the server (string) 140 message sent by the server (string)
141 </dd> 141 </dd>
142 </dl><dl>
143 <dt>Returns:</dt>
144 <dd>
145 data entered by the user (string)
146 </dd>
142 </dl><a NAME="HgClient.__readChannel" ID="HgClient.__readChannel"></a> 147 </dl><a NAME="HgClient.__readChannel" ID="HgClient.__readChannel"></a>
143 <h4>HgClient.__readChannel</h4> 148 <h4>HgClient.__readChannel</h4>
144 <b>__readChannel</b>(<i></i>) 149 <b>__readChannel</b>(<i></i>)
145 <p> 150 <p>
146 Private method to read data from the command server. 151 Private method to read data from the command server.
171 <dd> 176 <dd>
172 list of arguments for the command (list of string) 177 list of arguments for the command (list of string)
173 </dd><dt><i>inputChannels</i></dt> 178 </dd><dt><i>inputChannels</i></dt>
174 <dd> 179 <dd>
175 dictionary of input channels. The dictionary must 180 dictionary of input channels. The dictionary must
176 have the keys 'I' and 'L' and each entry must be a function receiving 181 have the keys 'I' and 'L' and each entry must be a function
177 the number of bytes to write. 182 receiving the number of bytes to write.
178 </dd><dt><i>outputChannels</i></dt> 183 </dd><dt><i>outputChannels</i></dt>
179 <dd> 184 <dd>
180 dictionary of output channels. The dictionary must 185 dictionary of output channels. The dictionary
181 have the keys 'o' and 'e' and each entry must be a function receiving 186 must have the keys 'o' and 'e' and each entry must be a function
182 the data. 187 receiving the data.
183 </dd> 188 </dd>
184 </dl><dl> 189 </dl><dl>
185 <dt>Returns:</dt> 190 <dt>Returns:</dt>
186 <dd> 191 <dd>
187 result code of the command, -1 if the command server wasn't started or 192 result code of the command, -1 if the command server wasn't
188 -10, if the command was canceled (integer) 193 started or -10, if the command was canceled (integer)
194 </dd>
195 </dl><dl>
196 <dt>Raises <b>RuntimeError</b>:</dt>
197 <dd>
198 raised to indicate an unexpected command
199 channel
189 </dd> 200 </dd>
190 </dl><a NAME="HgClient.__serverFinished" ID="HgClient.__serverFinished"></a> 201 </dl><a NAME="HgClient.__serverFinished" ID="HgClient.__serverFinished"></a>
191 <h4>HgClient.__serverFinished</h4> 202 <h4>HgClient.__serverFinished</h4>
192 <b>__serverFinished</b>(<i>exitCode, exitStatus</i>) 203 <b>__serverFinished</b>(<i>exitCode, exitStatus</i>)
193 <p> 204 <p>
264 <dd> 275 <dd>
265 function receiving the data from the server (string). 276 function receiving the data from the server (string).
266 If a prompt function is given, this parameter will be ignored. 277 If a prompt function is given, this parameter will be ignored.
267 </dd><dt><i>error=</i></dt> 278 </dd><dt><i>error=</i></dt>
268 <dd> 279 <dd>
269 function receiving error messages from the server (string) 280 function receiving error messages from the server
281 (string)
270 </dd> 282 </dd>
271 </dl><dl> 283 </dl><dl>
272 <dt>Returns:</dt> 284 <dt>Returns:</dt>
273 <dd> 285 <dd>
274 output and errors of the command server (string). In case output 286 output and errors of the command server (string). In case
275 and/or error functions were given, the respective return value will 287 output and/or error functions were given, the respective return
276 be an empty string. 288 value will be an empty string.
277 </dd> 289 </dd>
278 </dl><a NAME="HgClient.startServer" ID="HgClient.startServer"></a> 290 </dl><a NAME="HgClient.startServer" ID="HgClient.startServer"></a>
279 <h4>HgClient.startServer</h4> 291 <h4>HgClient.startServer</h4>
280 <b>startServer</b>(<i></i>) 292 <b>startServer</b>(<i></i>)
281 <p> 293 <p>
294 </p><a NAME="HgClient.wasCanceled" ID="HgClient.wasCanceled"></a> 306 </p><a NAME="HgClient.wasCanceled" ID="HgClient.wasCanceled"></a>
295 <h4>HgClient.wasCanceled</h4> 307 <h4>HgClient.wasCanceled</h4>
296 <b>wasCanceled</b>(<i></i>) 308 <b>wasCanceled</b>(<i></i>)
297 <p> 309 <p>
298 Public method to check, if the last command was canceled. 310 Public method to check, if the last command was canceled.
299 </p> 311 </p><dl>
312 <dt>Returns:</dt>
313 <dd>
314 flag indicating the cancel state (boolean)
315 </dd>
316 </dl>
300 <div align="right"><a href="#top">Up</a></div> 317 <div align="right"><a href="#top">Up</a></div>
301 <hr /> 318 <hr />
302 </body></html> 319 </body></html>

eric ide

mercurial