Source checkout (SVN) on client does a clean checkout every time

If I have two build configurations working on the same source directory, the following happens
1) The first configurations checks out source and runs
2) The second configuration deletes the source, checks it out again, and then runs

This adds like an hour to the second configuration's build time even though it's entirely unnecessary. "Clean all files before build" is not checked. I am not sure why the TeamCity agent is deleting everything before updating again.

4 comments

This is reproduced in Teamcity 2.0 and 2.1.

Also, the first step is modifying the externals on a directory, so maybe that could cause it? However deleting the directory isn't necessary as subversion will figure out the new externals and update the source code accordingly. A simple "svn update" will suffice.

0

I created a bug, I'm fairly certain it's related to externals support, specifically the directory becoming ".OLD" and the fact that this didn't happen till I set svn:externals on my directory.
http://www.jetbrains.net/jira/browse/TW-2797

0

I closed the request as "won't fix" because this behaviour is expected.
Server side checkout process cannot do real svn update because there are no
source code. If externals property changes it just deletes al sources and
gets them anew. We supposed changing externals is not very frequent
operation.
BTW, you can use agent side check out, it performs actual svn update.

Thanks for the feedback!

--
Olesya Smirnova
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


"acook" <no_reply@jetbrains.com> wrote in message
news:23393795.1181163539046.JavaMail.itn@is.intellij.net...
>I created a bug, I'm fairly certain it's related to externals support,
>specifically the directory becoming ".OLD" and the fact that this didn't
>happen till I set svn:externals on my directory.

http://www.jetbrains.net/jira/browse/TW-2797



0

This is an agent side checkout, not a server side checkout.

0

Please sign in to leave a comment.