[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: Murli Varadachari <mvaradachari_at_facebook.com>
Date: Fri, 29 Aug 2008 07:11:57 -0700

SO then in order to change

svn synchronize http://slave [ where //slave is the DEST_URL ]

To ==>

svn synchronize svn://slave

I would need to change the current property ³svn:sync-from-url :
http://master/svnroot_mirror%b2 on revprop 0 on the slave

Is that right?

Cheers
murli

On 8/29/08 6:54 AM, "John Peacock" <john.peacock_at_havurah-software.org>
wrote:

> 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.
>
> HTH
>
> John
>
Received on 2008-08-29 16:12:42 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.