You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Justin <ju...@hush.cc> on 2007/06/06 19:12:10 UTC

Changed server IP, need to change local project IP

Hey guys,

Had to change an IP of a server where SVN is hosted. Changeover  
worked great, but I completely didn't realize that everyone's local  
working folders would need their stored (hidden?) information changed  
to that they'd check in to the NEW IP.

Haven't poked around yet since everyone's running around like  
headless chickens, but if anyone could point me in the right  
direction it would be greatly appreciated.

Thanks very much in advance!

(FWIW, the folks with checked out projects are using TortoiseSVN for  
managing their stuff).

- Justin D.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Changed server IP, need to change local project IP

Posted by deckrider <de...@gmail.com>.
svn help switch

On 6/6/07, Justin <ju...@hush.cc> wrote:
> Hey guys,
>
> Had to change an IP of a server where SVN is hosted. Changeover
> worked great, but I completely didn't realize that everyone's local
> working folders would need their stored (hidden?) information changed
> to that they'd check in to the NEW IP.
>
> Haven't poked around yet since everyone's running around like
> headless chickens, but if anyone could point me in the right
> direction it would be greatly appreciated.
>
> Thanks very much in advance!
>
> (FWIW, the folks with checked out projects are using TortoiseSVN for
> managing their stuff).
>
> - Justin D.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Changed server IP, need to change local project IP

Posted by Hari Kodungallur <hk...@gmail.com>.
On 6/6/07, Justin <ju...@hush.cc> wrote:
>
> Hey guys,
>
> Had to change an IP of a server where SVN is hosted. Changeover
> worked great, but I completely didn't realize that everyone's local
> working folders would need their stored (hidden?) information changed
> to that they'd check in to the NEW IP.



Did everyone checkout using an IP adress (like http://A.B.C.D/mrepo) or did
they use hostname. If the host's IP changed, wouldn't it be as simple as
editing the /etc/hosts (or the equivalent on Windows -- I don't know which
file that is)?


Haven't poked around yet since everyone's running around like
> headless chickens,


:-) i can very well imagine that... we had that once (albeit not an IP
change issue).


but if anyone could point me in the right
> direction it would be greatly appreciated.
>
> Thanks very much in advance!
>
> (FWIW, the folks with checked out projects are using TortoiseSVN for
> managing their stuff).




Regards,
-Hari Kodungallur

Re: Changed server IP, need to change local project IP

Posted by Justin <ju...@hush.cc>.
Awesome, thanks for everyone's advice! I completely forgot about the  
"switch" command despite using it a few times. Oy vey.   =)

- Justin D.


On Jun 6, 2007, at 5:33 PM, Ryan Schmidt wrote:

>
> On Jun 6, 2007, at 14:12, Justin wrote:
>
>> Hey guys,
>>
>> Had to change an IP of a server where SVN is hosted. Changeover  
>> worked great, but I completely didn't realize that everyone's  
>> local working folders would need their stored (hidden?)  
>> information changed to that they'd check in to the NEW IP.
>>
>> Haven't poked around yet since everyone's running around like  
>> headless chickens, but if anyone could point me in the right  
>> direction it would be greatly appreciated.
>>
>> Thanks very much in advance!
>>
>> (FWIW, the folks with checked out projects are using TortoiseSVN  
>> for managing their stuff).
>
> svn switch --relocate svn://OLD.IP.ADDR svn://NEW.IP.ADDR
>
> That assumes you're using the svn:// protocol; put whatever  
> protocol you're actually using.
>
> TortoiseSVN also has a Relocate menu item, I believe.
>
> Consider setting up a hostname so that people access the server via  
> svn://svn.example.com instead of svn://IP.ADDR, so that future IP  
> address changes on the server don't impact your users.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Changed server IP, need to change local project IP

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 6, 2007, at 14:12, Justin wrote:

> Hey guys,
>
> Had to change an IP of a server where SVN is hosted. Changeover  
> worked great, but I completely didn't realize that everyone's local  
> working folders would need their stored (hidden?) information  
> changed to that they'd check in to the NEW IP.
>
> Haven't poked around yet since everyone's running around like  
> headless chickens, but if anyone could point me in the right  
> direction it would be greatly appreciated.
>
> Thanks very much in advance!
>
> (FWIW, the folks with checked out projects are using TortoiseSVN  
> for managing their stuff).

svn switch --relocate svn://OLD.IP.ADDR svn://NEW.IP.ADDR

That assumes you're using the svn:// protocol; put whatever protocol  
you're actually using.

TortoiseSVN also has a Relocate menu item, I believe.

Consider setting up a hostname so that people access the server via  
svn://svn.example.com instead of svn://IP.ADDR, so that future IP  
address changes on the server don't impact your users.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org