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

Re: How to relocate source repos for svnsync?

From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: Wed, 14 May 2008 12:20:42 -0500

I don't think there is a way to do this. We recently ran into the same issue as the domain name changed. The only solution we had was to start over.

A way to keep everything from breaking if your old URL/repository is still working is to create a new repository with a different name. Go through the steps of initialization and synchronization on the new repository. Once the new repository is synchronized with HEAD on the master, remove/rename the old repository and then rename the new repository with the old repository's name. This should keep the down time to a near minimum.

Hope this helps,

Johnathan

>>> On Wed, May 14, 2008 at 10:59 AM, in message <482B0C44.8040904_at_gmail.com>, Liu
Yubao <yubao.liu_at_gmail.com> wrote:
> Hi,
>
> I have setuped a repos B to sync from repos A with svnsync:
>
> svnsync init file:///path/to/reposB http://hostA/reposA
> svnsync sync file:///path/to/reposB
>
> Now I add SSL support to the Apache server on hostA, the
> svnsync's SRCURL is changed to https://hostA/reposA, only the
> procotol changed, how can I relocate the source repos for svnsync?
>
> I have tried to do `svn pe svn:sync-from-url --revprop -r 0 \
> file://path/to/reposB` to change the source url, but `svnsync sync`
> tells me "svnsync: Malformed URL for repository".
>
> (I haven't subscribed this mail list, please CC to me, thanks!)
>
>
> Best regards,
>
> Liu Yubao
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-14 19:21:44 CEST

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.