0

I've had to do some server maintenance on our SVN Master server, this involved changing IP address.

I used the following command to relocate the repository:

svn switch --relocate http://ec2-zz-zzz-zz-zz.eu-west-1.compute.amazonaws.com/svn/svn.xxxxxxxxxxxxx.com http://ec2-yy-yyy-yyy-y.eu-west-1.compute.amazonaws.com/svn/svn.xxxxxxxxxxxxx.com

where zz-zzz-zz-zz is the old IP address and yy-yyy-yyy-y is the new IP address.

The problem I'm having now is that all the external files are pointing the old IP address and I'm not sure how to change them.

How do I change the IP address of the external files ?

Any help appreciated.

EDIT This command:

svn propget svn:externals

outputs the following:

imgs http://ec2-zz-zzz-zz-zz.eu-west-1.compute.amazonaws.com/svn/svn.xxxxxxxxxxxxx.com/website-files/www.xxxxxxxxxxxxx.com/imgs

So I know that imgs is setup as an external folder. So I just need to edit this property to change the IP address.

I'm guessing I need the following command:

svn propedit svn:externals

but I'm not sure of the exactly how to format the command.

4

1 回答 1

0

Ok, I managed to solve the problem. The issue was actual that SVN_EDITOR was not set up. So I to set it up I used the following command:

export SVN_EDITOR=nano

and then I was able to edit the reference using the following command:

svn propedit svn:externals .
于 2013-06-12T10:13:54.493 回答