TeamCity 5.0 'Failed to collect changes error' issue
Tonight I was facing an issue with TeamCity 5.0 plugin in Visual Studio 2008.
Searching on the bug tracking tool of JetBrains for TeamCity I found this issue “TW-10474 I can not make VS addin recollect changes after recieveing ‘Failed to collect changes error’”
Has this issue breaks my way to work with pre-tested build I decided to search for a solution because I cannot work without this now!
So following the instruction “Logging in TeamCity Visual Studio plugin” : Reporting Issues
Looking at the produced logs I found this:
9:28:24 PM.987: Thread:31: svn.exe info “
xml” “non-interactive” “p:\@projects_handsup\portal”
9:28:24 PM.987: Thread:31: Failed to execute svn. code 1, error svn: Try ‘svn help’ for more info svn: Syntax error parsing revision ‘projects_handsup\portal’ , output <?xml version=”1.0”?>
9:28:24 PM.991: Thread:31: EXCEPTION: svn: Try ‘svn help’ for more info
svn: Syntax error parsing revision ‘projects_handsup\portal’.
Svn has exited with code ‘1’.
I tried then the svn command from the command prompt and got the same error!
I finally renamed the path to my project from p:\@projects_handsup\portal to p:\projects_handsup\portal
And now it works again! So forget strange characters in your path!