teamcity force checkout

stacker picture stacker · May 7, 2010 · Viewed 12.3k times · Source

I have teamcity project that use mercurial. I did a few manually changes to the files in teamcity/buildAgent/work directory. The problem is that now I cannot update the files to the files in the repository.

How can I force re checkout for the teamcity? Is there any option to get rid of the old checkout?

Answer

EMP picture EMP · May 7, 2010

There is a "Clean Sources" button on the project or build configuration page somewhere. If you click that the next build will automatically do a full checkout.