Module cmdserver

Source
Expand description

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:

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.

Structs§

CommandServer
Spawns and communicates with a command server process.