Team City VCS error collecting changes
Solution 1
We had faced similar issue with team city. Seems problem was some how it was trying to fetch the SVN logs from two configurations. Because we had used the same VCS root for 2 different branches at different times.
To solve this, delete and recreate the build configuration as well as the VCS root and it should work.
Solution 2
I'm not sure why this worked for me, but I went into the VCS config and changed the SVN Client version from 1.6 to 1.7, and then everything started working.
Solution 3
I talked with JetBrains support about this, and they said that this issue remains unresolved and reffered me to this:
https://youtrack.jetbrains.com/issue/TW-9967#comment=27-437160
TL;DR Backup, and the delete the contents of this folder: \system\pluginData
Related videos on Youtube
Declan McNulty
Updated on June 04, 2022Comments
-
Declan McNulty almost 2 years
I am getting the following error on my TeamCity project:
Error collecting changes for VCS repository 'MySvnRepository' Unable to get SVN log entries for: https://myserver/svn/trunk; range: RR[99_2013/08/27 13:35:20 +0100 => 6_2013/08/27 14:40:13 +0100]@d2fecd1e-4276-d847-874c-cb6b9eafeb43; revisions: 99..6
I have tested the VCS connection through the "Test Connection" button in the TeamCity admin screen and it connects fine.
Looking at the error message it looks as though it is trying to retrieve entries 6 - 99, but there are only 6 log entries in the repository as it is newly created. I have checked that the build counter has been reset.
Is there something obvious I am missing here?
-
Robert Luong about 9 yearsWe had migrated our SVN server and we begun receiving this error on TeamCity and had trouble getting rid of it. We tried rebooting the box and whatnot. The answer @Mike gave, for some reason, worked. Thanks.
-
KIR over 7 yearsAlso, take a look at comments for the issue youtrack.jetbrains.com/issue/TW-9967, especially regarding removal of
repositoryStates
directory. -
adam0101 about 3 yearsI didn't have to delete the build configuration, just detach, delete, and recreate the VCS root and it worked for me. Thanks!