[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Fwd: [Linux] Hook hashbang hardships

From: Dario Niedermann <dnied_at_tiscali.it>
Date: Wed, 12 Oct 2016 09:47:00 +0200

Hi! Having received no relevant replies on users@ in 15 days, I'm
forwarding my message here. Thanks for looking into the issue.

----- Forwarded message from Dario Niedermann <dnied_at_tiscali.it> -----

Hello! I've been having trouble getting my own pre-revprop-change
hook script to work. Svn was refusing any change to a revprop with
the following error:
________________________________________
svn: E165001: Revprop change blocked by pre-revprop-change hook
(exit code 1) with no output.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Until I found out that the issue was in the script's shebang:

        #!/bin/bash -e

which wouldn't work. Had to remove ' -e'. Is this expected behaviour
or is there something wrong with svn (version 1.9.4 (r1740329) on
Linux/x86_64) ?

Thanks,
DN

----- End forwarded message -----
Received on 2016-10-12 09:47:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.