Repository still exists after setting repository-option "Checkout files into workspace" to false

Hi Support-Team,
I disabled the respository setting “Checkout files into workspace”, but the repository in ‘ContinuaShare\Rc’-directory is not removed. Is this expected and can I remove the repository manually?

Hi Albrecht Hultsch,

This directory is required to store a clone of the repository to detect changes which then run triggers. If you don’t require the repository for triggering, or for retrieving files from then its best to not track the repository in Continua CI.

Hi Jason Smith,
I need the repository only for triggering and not for retrieving files. And if I understand it right i can uncheck this option “Checkout files into workspace” for a repository and this will prevent Continua to create a clone of this repository.
My problem is that when I added the repository to Continua this option did not exists. And now I want it only for triggering builds and want to remove the files because the repository is large.

Hi Albrecht Hultsch,

To detect that changes have occurred on the repository, a clone of the repository is required on the server. The folder you refer to, is the servers clone of the repository. The option “Checkout files into workspace” will mean the repository will not be cloned to agents when a build is started.

Hi Albrecht,

Unchecking the “Checkout files to workspace” option in the repository setting will actually mean that no files are checked out to the server repository cache working folder when a new changeset is detected. Any files for previous changesets will still exist in the repository cache. 

You can clear up the repository cache by resetting the repository. You may also delete the repository cache folder, in which case it will be recreated but will not contain any files. 

Note that the empty repository cache will still be synchronised with the agent when a build runs but no attempt will be made to check out any files to the agent workspace folder.