Mercurial > hg
view tests/test-requires.t @ 13760:ed97955e0c04
convert/mtn: add support for using monotone's "automate stdio" when available
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.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 23 Mar 2011 14:26:56 -0400 |
parents | 3b165c127690 |
children | ffb5c09ba822 |
line wrap: on
line source
$ mkdir t $ cd t $ hg init $ echo a > a $ hg add a $ hg commit -m test $ rm .hg/requires $ hg tip abort: index 00changelog.i unknown format 2! [255] $ echo indoor-pool > .hg/requires $ hg tip abort: requirement 'indoor-pool' not supported! [255]