mercurial: how to synchronize mq patches from a master repo as mq patches to a set of clone repos

Posted by dim on Stack Overflow See other posts from Stack Overflow or by dim
Published on 2010-04-13T11:25:00Z Indexed on 2010/04/13 12:22 UTC
Read the original article Hit count: 362

Filed under:
|

I have to run a dozen of different build tests on a code base maintained in a mercurial repository. I don't want to run serially these tests on same repository because they modify a set of common files and I want to run them in parallel on different machines. Also, after all tests are run I want to have access to latest test results from those test work areas. Currently I'm cloning the master repository a dozen of times and run in each clone one different test. Before each test execution I do a pull/update/purge preparation sequence in order to start the test on latest clean state. That's good for me.

I'm also preparing new changes using mq extension that I would test on all clones as above before committing them. For testing some ready candidate mq patches I want somehow to deploy/synchronize them to be available in test clones and apply those ready for testing using some guard before running the test.

Did anybody do this synchronization before? What's the most simple way to do it? Do I need to have versioned mq patches for that?

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about mercurial-queue