How do you specify the checkout directory?

I am trying to specify a specific checkout directory when checking out from my VCS. I am using Surround SCM and have installed the VCS plugin for Surround.

I've setup my VCS Root to point at my main repository called 'Main' and I've specified the following checkout rules:
     +:ProjectFolder1=>ProjectFolder1
     +:ProjectFolder2/SubProjectFolder2=>ProjectFolder2/SubProjectFolder2

When TeamCity does the checkout and copies it to the agent's working directory it goes to the following paths:
     ProjectFolder1->Main->ProjectFolder1Contents
     ProjectFolder2->SubProjectFolder2->Main->ProjectFolder2Contents

My question is how I can remove the 'Main' sub-folder from my checkout directory.
Any help would be much appreciated.

1 comment
Comment actions Permalink

Hi Kyle,
Did you use the VCS repository browser to select a directory to check out? If yes and the checkout path is configured correctly, then there should not be Main folder in the checkout directory.
Surround is a third party plugin, please contact their support.

0

Please sign in to leave a comment.