1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! High-level interface to the Mercurial command server.
//!
//! This module is currently only a skeletal implementation. In the
//! future this will allow you to run Mercurial commands by calling
//! methods of the same name:
//!
//! ```ignore
//! use hglib::cmdserver::CommandServer;
//! let cmdserver = CommandServer::new().expect("failed to start command server");
//! let statcmd = cmdserver.status();
//! ```
//!
//! and get the results back as native Rust data types. The details of
//! this implementation are yet to be determined. For an idea of what's
//! in store, see the [Python hglib documentation][python-hglib].
//!
//! [python-hglib]: https://mercurial.selenic.com/wiki/PythonHglib
use io;
use *;
/// Spawns and communicates with a command server process.