Can 'svn switch' be slower than 'rm -rf && svn checkout'?

Suppose my working copy of ~ / WC / is updated from http://acme.com/svn-rep/ A /. Now I would like the same working copy to be updated with http://acme.com/svn-rep/ B /. I have two options:

Obviously, the best option for option 1 is faster than the best option for option 2. But could there be a case where, for the worst case, option 1 is slower than the worst case than option 2?

The reason I'm asking is because I am writing a bunch of scripts to automate some tests, and I will need to work with multiple branches inside the same repository. The test machines have a limited amount of disk space, so I will have to reuse the same working copy.

EDIT:

After reading the link, the third option will appear in aix's answer below:

+5
source share
1 answer

I personally have not experienced this, but it would seem that there might be performance issues with svn switch: Slow switch in subversion

, rm && svn co . , , svn ..

, , , svn switch , .

+2

All Articles