Use same repository for different branches?

I have a number of builds looking at different branches in the same Mercurial repository. These builds are being used for deployment. This is a very large repository. Every time a new build for a new branch on a new agent is started, TeamCity spends 40 minutes retreiving the entire repository, and then checking out the relevant branch.

Since each agent performs only one build at a time, is it possible it can look at the same retreived mercurial repository working directory, and update it to the relevant branch for each build?

Thanks

2 comments
Comment actions Permalink

Any hints/solutions/improvements for this issue?

Annoying for us too, lots of time is lost waiting for checkout...

0
Comment actions Permalink

Hi

Sorry for late response.

have you tried to use server-side checkout for such build configurations? In this case agents will not store a repository locally.

0

Please sign in to leave a comment.