- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Channel to a Mercurial "cmdserver" server. Messages sent to the server look like this:
- Class
- Decode a message received from the server. The message looks like this:
- Method
- Encode a message for transmission to the server. The message should be formatted as an array, like this:
- Method
- Server which @{class:ArcanistHgProxyClient} clients connect to. This server binds to a Mercurial working copy and creates a Mercurial process and a unix domain socket in that working copy. It listens for connections on the socket, reads commands from them, and forwards their requests to the Mercurial process. It then returns responses to the original clients.
- Class
- Method
- Method
- Method
- Close and remove the unix domain socket in the working copy.
- Method
- Starts a Mercurial process which can actually handle requests.
- Method
- Method
- Method
- Method
- Update one client, processing any commands it has sent us. We fully process all commands we've received here before returning to the main server loop.
- Method
- Start the server. This method returns after the client limit or idle limit are exceeded. If neither limit is configured, this method does not exit.
- Method
- Configure whether the server runs in the foreground or daemonizes. Controlled by --do-not-daemonize. Primarily useful for debugging.
- Method
- When clients connect, do not send the "capabilities" message expected by the Mercurial protocol. This deviates from the protocol and will only work if the clients are also configured not to expect the message, but slightly improves performance. Controlled with --skip-hello.
- Method
- Configure an idle time limit. After this many seconds idle, the server will exit. Controlled with `--idle-limit`.
- Method
- Configure a client limit. After serving this many clients, the server will exit. Controlled with `--client-limit`.
- Method
- Disable status messages to stdout. Controlled with `--quiet`.
- Method
- Build a new server. This server is bound to a working copy. The server is inactive until you @{method:start} it.
- Method
- Client for an @{class:ArcanistHgProxyServer}. This client talks to a PHP process which serves as a proxy in front of a Mercurial server process. The PHP proxy allows multiple clients to use the same Mercurial server.
- Class
- Method
- Method
- Execute a command (given as a list of arguments) via the command server.
- Method
- When connecting, do not expect the "capabilities" message.
- Method
- Build a new client. This client is bound to a working copy. A server must already be running on this working copy for the client to work.
- Method
- Channel to a Mercurial "cmdserver" client. For a detailed description of the "cmdserver" protocol, see @{class:ArcanistHgServerChannel}. This channel implements the other half of the protocol: it decodes messages from the client and encodes messages from the server.
- Class
- Decode a message received from the client. The message looks like this:
- Method
- Encode a message for transmission to the client. The message should be a pair with the channel name and the a block of data, like this:
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0