multiple commands, one process
Dirkjan Ochtman
dirkjan at ochtman.nl
Thu May 6 14:18:06 UTC 2010
On Thu, May 6, 2010 at 16:13, Kastner Masilko, Friedrich
<Kastner-Masilko at at.festo.com> wrote:
> I see. I didn't know about --stdio, very interesting, thanks!
>
> But how can I use this to send commands? If I do:
>
> hg serve -v --debug --stdio
> ?cmd=heads
> 0
> GET /?cmd=heads HTTP/1.1
> 0
> heads
> 0
>
> ... I always get that zero returned.
Works for me:
djc at planck bohr $ hg serve -v --stdio
heads
41
11aabedf06f4a816ddd2312348551335cd9bd62f
The 41 is the length of the response.
Cheers,
Dirkjan
More information about the Mercurial
mailing list