i added this text:
REPOS="$1"
REV="$2"
USER="$3"
PROPNAME="$4"
ACTION="$5"

if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi

echo "Changing revision properties other than svn:log is prohibited"
>&2
exit 1

and no luck..

DAV request failed; it's possible that the repository's pre-revprop-
change hook either failed or is non-existent
At least one property change failed; repository is unchanged
Error setting property 'log':
Revprop change blocked by pre-revprop-change hook (exit code 255) with
output:
'REPOS' is not recognized as an internal or external command, operable
program or batch file..

P.S. How could i add pictures to this group?
P.S.2. Is there a step-by-step guide how to add hooks that works?

Thank you

On Mar 9, 10:09 pm, VisualSVN Support <[email protected]> wrote:
> Hi Alex!
>
> >When i open Hooks tab i see
> > Pre-revision property change hook
>
> Select pre-revision property change hook from the above list and enter
> the text of the hook file.
>
> --
> Regards,
> Olga Dolidze
> VisualSVN Support

Reply via email to