I've learned the one more svn command
svnsync, which I ever tried before. thought sharing this will be usefull for svn buddies.
Basically this command is to replicate the svn repository (i.e) Master to n number of slave repository setup.
How to:
1. Create the slave repository. follow the below steps for creating that.
a. Create an new repository.
b. Then you need to alter somescripts in the newly created repository inorder to accept this setup.
c. Get in to hooks directory of newly created above repository and rename pre-revprop-change.tmpl to pre-revprop-change.
d. Give pre-revprop-change executable permission.
e. Then edit the pre-revprop-change and add
exit 0 at the begining of the file.
2. Execute the below commands to point master repository to newly created slave
1.
svnsync init slaverepositoryurl masterrepositoryurlThe above command is one time setup command (i.e) pointing the master repository to slave repository.
2.
svnsync sync slaverepositoryurlThe above command is invoked when ever you need to sync with master repository.
Similarly you can have n number of slaves for the master repository.
Also heared that this is not the right way to use it in production, but any how Im posting this to get startup.