svnserve: pre-lock arguments like &
From: <svn-sth_at_mnet-online.de>
Date: Mon, 23 Nov 2009 11:06:40 +0100
Hi,
i face the following problem in (1.3.2 and 1.6.6) svnserve based svn-servers.
i have defined pre-lock hooks.
if i (a user) try to lock a file named: 'testfile&testfile'
i get:
#> svn lock 'testfile&testfile'
Rep: /home/.../hooktest
=========================================================
if i call the hook standalone like:
svn.pre-lock.block_stealing.sh /home/.../hooktest 'testfile&testfile' user
Rep: /home/.../hooktest
=========================================================
everything is fine.
if i call it like:
svn.pre-lock.block_stealing.sh /home/.../hooktest testfile&testfile user
Rep: /home/.../hooktest
=========================================================
it does not work.
so i assume that svnserve is not starting the hook with right parameters,
/bin/sh -c ... $1 $2 $3
instead of:
/bin/sh -c ... "$1" "$2" "$3"
can someone confirm on that.
kind regards,
------------------------------------------------------
Please start new threads on the <dev_at_subversion.apache.org> mailing list.
|
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.