[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 10:29:29 -0400

Murli Varadachari wrote:
>
> 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%94 on revprop 0 on the slave

No. svnsync runs on the master connecting to the slave. If the master
can connect over the svn:// transport to the slave, then nothing needs
to be changed. In reality, the svn:sync-from-url is what path relative
to the *master* that it uses to update the *slave*. You could do this,
in fact:

        svn init http://slave file:///local/path/on/master
        svn sync svn://slave

(as long as both http:// and svn:// transports are available on the
slave) without making any alteration of the slave.

HTH

John

---------------------------------------------------------------------
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 16:29:53 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.