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?


Comment actions Permalink

Any hints/solutions/improvements for this issue?

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

Comment actions Permalink


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.


Please sign in to leave a comment.