I ran into this problem when changing SVN source next to code freeze. I create a release tag and modify the source control section to refer to the tag, and not to the development branch. However, the assembly working directory will still contain the source for the development branch, including all SVN metafiles. This throws an exception due to a clash of SVN sources (the original dev branch and the new release tag).
In this case, a simple solution is to remove the code (directories and everything) from the working directory of the assembly , and CruiseControl to pull the source for the development branch from a new location.
Here is an excerpt from the ccnet.config file that has been modified to cause this problem. Does this look familiar?
<sourcecontrol type="multi"> <sourceControls> <svn> <trunkUrl>https://svn/Engineering/Applications/Quasar/tags/REL-TeamRowdy-RC1-2013.07.17.003</trunkUrl> <workingDirectory>Quasar</workingDirectory> <cleanUp>true</cleanUp> <forceUpdate>true</forceUpdate> </svn> <svn> <trunkUrl>https://svn/Engineering/Applications/Acme/tags/REL-TeamRowdy-RC1-2013.07.17.003</trunkUrl> <workingDirectory>Acme</workingDirectory> <cleanCopy>true</cleanCopy> </svn> </sourceControls> </sourcecontrol>
source share