Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Team City VCS error collecting changes

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?

like image 257
Declan McNulty Avatar asked Aug 27 '13 13:08

Declan McNulty


3 Answers

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.

like image 106
Narain Mittal Avatar answered Sep 30 '22 19:09

Narain Mittal


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.

like image 43
Mike Avatar answered Sep 30 '22 20:09

Mike


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

like image 38
lavuy Avatar answered Sep 30 '22 20:09

lavuy