[PATCH 0 of 3 V2] Add support for using monotone's "automate stdio" to the convert extension

Martin Geisler mg at aragost.com
Thu Mar 24 13:18:28 CDT 2011


daniel.atallah at gmail.com writes:

> (Updated set of patches based on review of the first version)
>
> Add support for using monotone's "automate stdio" to the convert
> extension
>
> Currently the convert extension spawns a new mtn process for each
> operation. For a large repository, this ends up being hundreds of
> thousands of processes. The following enables usage of monotone's
> "automate stdio" functionality - documented at:
>
> http://www.monotone.ca/docs/Automation.html#index-mtn-automate-stdio-188
>
> The effect is that (after determining that a new enough mtn executable
> is available) a single long-running mtn process is used for all the
> operations, using stdin/stdout to send commands and read output.
>
> This has a pretty significant effect on the performance of some parts
> of the conversion process.

I think the above text is so good that it should be put into the commit
message after being wrapped like I did above :)

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/en/services/mercurial/blog/


More information about the Mercurial-devel mailing list