Avoid Cleancheckout after VCS Reboot


I´m working with Unity + TC. I have two servers setuped. One for TC, one as git-vcs host. ( Both virtualBoxes - but on two machines )
Working with client-side checkout, and custom path

Everytime I restart the VCS Server for maintainence - the next build on TC will be a clean checkout:

Message :

Using vcs information from agent file: _Users_USER_PROJECT_Android_test.xml
[20:20:24][Updating sources] Will perform clean checkout. Reason: Agent doesn't have any version of the project sources

Clean checkouts are very expensive because they cause a asset-reimport ( around 1 h )
So I´m looking to avoid this checkouts. Because I see no point for this clean. There was no build running before I restart the server, and all files on client look good.

Is there any thing I can do to avoid this ?
Do I have to stop TC before restart the VCS Server ?

Or is there any log I can check to see what the server thinks went wrong ?

Thanks for your help

Friedrich Wessel
1 comment
Comment actions Permalink


A restart of VCS server should not cause a clean checkout.
It is not recommended to use Custom checkout directory. Please check that the following cases when clean checkout could be performed - http://confluence.jetbrains.com/display/TCD8/Clean+Checkout#CleanCheckout-AutomaticCleanCheckout, http://confluence.jetbrains.com/display/TCD8/Build+Checkout+Directory.

Can you please attach teamcity-vcs.log file?


Please sign in to leave a comment.