monster monster - 1 year ago 67
Linux Question

How to change svn user without checking out fresh copy

I am trying to change svn user.
I was using svn with username "ABC" now due to some name conflict my username is changed to "ABC.1"
How can I change username from "ABC" to "ABC.1", but I don't want to checkout a fresh svn copy.
Just need to change user only.
I am using "svn +ssh" protocol and using Cent-OS 6.7

Answer Source

You can use below command if you are using svn+ssh protocol:

svn switch --relocate svn+ssh://currentUser@server/path svn+ssh:/newUser@server/path

it works fine on CentOS