CommandServer design question

Matt Mackall mpm at selenic.com
Fri Sep 7 13:25:59 CDT 2012


On Fri, 2012-09-07 at 10:12 +0200, Johan Samyn wrote:
> Hi,
> 
> On the wikipage for the Hg CommandServer I read that the results of
> "runcommand" are sent through the "o"utput channel, and then the final
> return code through the "r"esult channel. But the result of
> "getencoding" is sent through the "r"esult channel immediately. Is there
> any special reasoning behind that decision, cause I find it
> inconsequent, and kind of breaks the protocol imho.

I don't know that there's any special reason for. Obviously too late to
fix though.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list