views:

324

answers:

1

I've got a SVN Repository that has moved to a new address/path. However, I've got a working copy with uncommitted source code still pointing to the old (now invalid) repository path. How do you change a working copy to point at a new repository?

+6  A: 

Use the svn switch command with the --relocate command line option.

Greg Hewgill
Thanks. This is what I used:svn switch --relocate file:///Users/user/old_repository/project/trunk file:///Users/user/new_repository/project/trunk
quano