views:

351

answers:

1

I've got two SVN branches (eg development and stable) and want to switch from one to another...

In every tutorial there is command like:
rootOfLocalSvnCopy:>svn switch urlToNewBranch .

But it leads in error in my case:
svn: REPORT request failed on '/svn/rootOfLocalSvnCopy/!svn/vcc/default'
svn: Cannot replace a directory from within

Every help that I found is about svn switch --relocate but I don't want to relocate, just to change my working copy to another branch

+2  A: 

OK, I get it work.

Error was in dot that I used to specify local directory in a command. correct usage is without it, svn can handle it all itself:

rootOfLocalSvnCopy:>svn switch urlToNewBranch

(No dot at the end...)

Supowski
Can you accept your own answer as an answer (I think you earn a badge for that)
Sander Rijken
there isn't any 'accept answer' link in my answer..
Supowski