switching source of SVN replica

i have svn replica that follows in near-real-time a master server using below run every few seconds:

/usr/bin/svnsync --non-interactive sync file:///mnt/svn/ --source-username=$LOGIN --source-password=$PASS

i had to change url of the source server; to reconfigure the the replica i’ve done:

# see current source url
svn propget svn:sync-from-url --revprop -r 0 file:///mnt/svn/

# set the new master url
svn propset svn:sync-from-url --revprop -r 0 https://new.address/ file:///mnt/svn/

Leave a Reply

Your email address will not be published. Required fields are marked *

(Spamcheck Enabled)