This is an archive of the discontinued Mercurial Phabricator instance.

rust-chg: spawn server process if not running
ClosedPublic

Authored by yuja on Apr 2 2020, 7:12 AM.

Details

Summary

This is the minimal reimplementation of gethgcmd(), execcmdserver(),
retryconnectcmdserver(), and connectcmdserver() in chg.c.

No config validation is implemented yet. And some Py3 workarounds would
be missing as this is the code I wrote in 2018.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuja created this revision.Apr 2 2020, 7:12 AM
Alphare accepted this revision.Apr 3 2020, 8:20 AM
Alphare added a subscriber: Alphare.

Aside from the outdated futures and Rust edition that Yuya already said are temporary, this looks good!

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.