svnsync not working : Revprop change blocked by pre-revprop-change hook

see here: https://svn.apache.org/repos/asf/subversion/trunk/notes/svnsync.txt

you destination config is failed. INIT phase (copying attributes) must be done. Inside pre-revprops-change script you should code username allowed to update. otherwise destination will be damaged by users. svn cannot work as active-active nodes. usually you configure hook script for prevent any modification by users. they should have only reaad access got.

generally go to superuser web service. there this is out of topic.


Just a little note, to avoid very often mistake.

In case of such error first be sure that pre-revprops-change file is executable. If not, execute:

chmod +x $DEST_SVN_REPO/hooks/pre-revprops-change,

where $DEST_SVN_REPO -- path to destination repository.


Turns out I was dumber than dumb.

In such an error case, the easiest way to ensure all is working correctly is invoking various hooks by hand.

It revealed my pre-revprop-change hook was incorrectly written with

"#!/bin/sh"
exit 0

Obviously, removing the " solved the issue.

Tags:

Svn

Svnsync