Most of the documentation of the net points to using pre rev prop (http://www.slideshare.net/normanmaurer/apacheconeusvnreplication) as against pre commit.
Also I am not able to get the user name in pre-commit ... just using plain dos.. Regards Ami On Jul 9, 10:18 am, Ami <[email protected]> wrote: > Hi Olga, > > Yup, looks like I was wrong. I will check & get back. > > Can u tell me what hooks I need to use for a master slave setup. I am > currently using the following hooks: > > Hooks on Master: > 1) Post-commit hook > 2) Post-revision property change hook > These are used to update the slave when changes are committed to the > Master. This is done using svnsync -sync --non-interactive. The > understanding i have is this is done in post commit, to ensure if the > slave/link is down... commit to master are not affected. > > Hooks on Slave > 1) pre-revprop -> To be changed to pre-commit (based on feedback). To > prevent other user apart from sync_user updating the slave. > > Regards > Ami > > On Jul 9, 2:47 am, VisualSVN Support <[email protected]> wrote: > > > Hi Ami! > > > Looks like it is not correct to use pre-revprop-change hook for this > > action. Try to use pre-commit hook for this task. > > > For details please consider Subversion documentation: > > -http://svnbook.red-bean.com/en/1.5/svn.ref.reposhooks.pre-commit.html > > -http://svnbook.red-bean.com/en/1.5/svn.ref.reposhooks.pre-revprop-cha... > > > -- > > Regards, > > Olga Dolidze > > VisualSVN Support

