svnvisualsvn-serverpost-commitpost-commit-hooksvnsync

Svn Commit hangs for an infinite time.How to resolve this issue


I performed following steps to implement the process of automatic mirroring in svn (relaying master commits to slave):

  1. Firstly I ran svnsync init command to initialize the both master and slave repositories

  2. Now I created post-commit.bat and post-revprop-change.bat on the master side and prev-revprop-change.bat on the slave side inside the hooks directory.

  3. Now on commiting my changes from the master side using eclipse the commit hangs for an infinite amount of time without any success.

  4. The commands I am running in post-commit.bat and post-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).


Solution

  • I see a couple of issues with your current replication configuration.