JustBeingHelpful
JustBeingHelpful

Reputation: 18990

Cruise Control error - unversioned file of the same name already exists

Cruise Control couldn't compile a *.sln (or *.vbproj) file because of the error below. Has anyone ever seen this error before?

Error:
unversioned file of the same name already exists

Cruise Control console error:

ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: Failed to add file '\\dev-web-02\web\lims\dev\docs\UI.Web\web.config': an unversioned file of the same name already exists
. Process command: svn update \\dev-web-02\web\lims\dev\docs --username ccserver --password ccserver --non-interactive --no-auth-cache
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo)
   at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.UpdateSource(IIntegrationResult result)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

Upvotes: 1

Views: 8323

Answers (1)

DaveShaw
DaveShaw

Reputation: 52818

Yes, it's probably because someone has deleted the file from subversion and then re-added it, or this file "was" auto-generated (or manually added) on the CC server and now has been added to version control. svn is trying to create that file because it's been added to subversion, but it's erroring because the file is already there.

To fix it, just delete the file at \\dev-web-02\web\lims\dev\docs\UI.Web\web.config. The next svn update will get the latest version from the repository.

Upvotes: 2

Related Questions