[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Changing server hostname

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2007-02-12 13:12:59 CET

On 2/12/2007 5:36 AM, Mark Hewitt wrote:
> Simple question... Probably not so simple answer...
>
> If the Subversion server is changed, in particular, I'm thinking of its
> hostname, is there any way to reconnect working copies that are associated
>
> with the server's previous name?

svn switch --relocate

> I am presuming that the repository is brought back up at the same version
> on the new server.
>
> As a supplementary question, if the repository is out of date - lets say
> the backup was regular enough and was recovered, is there any way to
> re-synchonise the working copies in that case too?

I don't know, but I would assume this is hard. Someone may have written
a script, but if not, you may need a lot of manual work to find the last
mod date of every file in the working copy, and check in changes that
are later than the recovered repository.

In a case like this it can be very helpful to have sent post-commit
emails. You can then check out whatever version of the repository you
managed to recover, and use patch to reapply and recommit all the
missing changes. I have done that in the past in a case where the
repository backup was missing the last few commits. You may also get
some peace of mind by mirroring the repository somewhere else using the
new facility for that, or using svk.

Duncan Murdoch

>
> This is not a panic, but some situations I'd like to feel comfortable that
>
> we can handle.
>
> Mark J Hewitt
> Principal Software Architect
> _____________________________
> Lawson Software
> 4 The Boulevard
> City West One Office Park
> Gelderd Road
> Leeds
> LS12 6NY
> United Kingdom
>
> Work:+(44) (0)113 231 0853 ext: 5139
> Fax: +(44) (0)113 279 9789
> http://www.lawson.com
>
> -------------------- Internet e-Mail Disclaimer --------------------
> This e-mail and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to which they are
> addressed. If you are not the intended recipient you are notified that any
> use, disclosure, copying or distribution of the information is prohibited.
> In such case, you should destroy this message and kindly notify the sender
> by reply e-mail. The views expressed in this e-mail and any attachments
> are personal and, unless stated explicitly, do not represent the views of
> Lawson Software.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 12 13:13:36 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.