Hi

i have setup two  VisualSVN Servers
one server was installed VisualSVN server as follows  (https://
maheshd.zonenet.lk:8443/svn/Mirror/)

the other one was installed another VisualSVN server setup (https://
kosalak.zonenet.lk:8443/svn/Master/ )

Now i want to mirror the server repository "Master" to "Mirror"

Then i changed the Mirror repository's pre-revprop-change hook script
as follows

#!/bin/sh

USER="$3"

if [ "$USER" = "syncuser" ]; then exit 0; fi

echo "Only the syncuser user may change revision properties" >&2
exit 1


Then i changed the Mirror repository's start-commit hook script hook
script as follows
#!/bin/sh

USER="$2"

if [ "$USER" = "syncuser" ]; then exit 0; fi

echo "Only the syncuser user may commit new revisions" >&2
exit 1

I created a user with the name 'syncuser' in VisualSVN server using
the UI interfacer given in the mirror server.

Finally i executed the following command

svnsync initialize https://maheshd.zone24x7.lk:8443/svn/Mirror/
https://kosalak.zone24x7.lk:8443/svn/Master/   --username svncuser --
password svncuser

The command prompt never leaves and i don't know what wrong with it.

i saw in one blog that it was mentioned to give administrator
permission to syncuser , that also seems quiet wearied to me as there
is no specific way to do that.


Please help me to solve this problem.

Thanks

kula

Reply via email to