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

Re: Switching svnsync process from http to svn protocol

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 29 Aug 2008 09:54:48 -0400

Murli Varadachari wrote:
> I have set up a svnsync process from repo A to repo B I.e “
> (a) svnsync synchronize http://repoB http://repoA

I think you mean:

        svnsync init http://repoB http://repoA

> Then I run
> svnsync synchronize http://repoB
> The question now is now can I now start resynchronizing using the “svn”
> protocol instead of using “http” -- Example: svnsync synchronize
> svn://repoB .

You can view the properties that were set during init this way:

        svn pl -v --revprop -r0 http://repoB

There are no properties set on the master at all; the only place where
the master knows which slaves to push to is in the post-commit hook itself.

If you look at the properties that were set, you will see that
svn:sync-from-url points to the URL on the *master*, so if you are only
changing the transport method to the *slave*, no changes need to be made.

If, on the other hand, you want to have the URL used for updates from
the *master* to be svn:// instead of http://, then you can use propset
to change svn:sync-from-url.



To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-29 15:55:26 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.