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

Patrick Mézard pmezard at gmail.com
Fri Mar 25 10:54:28 CDT 2011


Le 25/03/11 15:14, daniel.atallah at gmail.com a écrit :
> (updated based on review of V2 patches)
> 
> 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.

In crew: http://hg.intevation.org/mercurial/crew/rev/aeb41f0048e7

Nice work!

--
Patrick Mézard


More information about the Mercurial-devel mailing list