tags:

views:

83

answers:

2

I know, other RCS are better, but...

I have moved an SVN repository from file:///path/to/repo to http://host.name/svn/repo but there is a working directory (checkout out from file://) with changes that want commiting to the http location.

How then, can I change the repo a working directory will commit to when issuing svn commit?

I'd rather do that than checkout a new copy and sync changes locally. Also, handy to know for the future.

+3  A: 

Looks like svn switch command is what you need:

svn switch --relocate FROM_PATH TO_PATH
Vladimir
Thanks, don't know why it was hard to track down with Google! You get acceptance with lowest ID.
Aiden Bell
+1  A: 

You need to run the switch --relocate FROM TO [PATH...] command.

Kindness,

Dan

Daniel Elliott
Thanks Dan, again, why I couldn't find it with Google I don't know! Sorry, you missed the green tick by a hair!
Aiden Bell