I performed following steps to implement the process of automatic mirroring in svn (relaying master commits to slave):
Firstly I ran
svnsync init
command to initialize the both master and slave repositoriesNow I created
post-commit.ba
t andpost-revprop-change.bat
on the master side andprev-revprop-change.bat
on the slave side inside the hooks directory.Now on commiting my changes from the master side using eclipse the commit hangs for an infinite amount of time without any success.
The commands I am running in
post-commit.bat
andpost-revprop-change.bat
are:svnsync sync https://TestPcWin8pro.rcik3.domain.local/svn/testrcirepo/
and
svnsync copy-revprops https://TestPcWin8pro.rcik3.domain.local/svn/testrcirepo/
Please check the commands and suggest why the commit hangs while committing from Eclipse (using Subclipse plugin).