]> khamidou — GitHub mirrors - arcanist.git/commit
Rough cut of hgdaemon
authorepriestley <git@epriestley.com>
Fri, 8 Jun 2012 01:23:57 +0000 (18:23 -0700)
committerepriestley <git@epriestley.com>
Fri, 8 Jun 2012 01:23:57 +0000 (18:23 -0700)
commitf9d55d809f63c987ada2842c0a8a9b803ae0b466
tree7e1f0092e84a97d6a7187edf3e302880e9638357
parent6433f7ff3d35ef364df615c3c1d818a89edaccfc
Rough cut of hgdaemon

Summary:
This need a bunch of work, but is a sort of minimum viable product for the hgdaemon.

The two ProtocolChannels implement the client and server halves of the protocol.

The Server implements the server logic, the Client implements the client logic.

Test Plan: Launched a server and client on the same repo, got hg output in ~2-3ms instead of 100ms+.

Reviewers: csilvers, btrahan, vrana

Reviewed By: csilvers

CC: aran
Differential Revision: https://secure.phabricator.com/D2665
scripts/hgdaemon/hgdaemon_client.php [new file with mode: 0755]
scripts/hgdaemon/hgdaemon_server.php [new file with mode: 0755]
src/__phutil_library_map__.php
src/hgdaemon/ArcanistHgClientChannel.php [new file with mode: 0644]
src/hgdaemon/ArcanistHgProxyClient.php [new file with mode: 0644]
src/hgdaemon/ArcanistHgProxyServer.php [new file with mode: 0644]
src/hgdaemon/ArcanistHgServerChannel.php [new file with mode: 0644]