Bug or Feature: pre-lock parameters with &
From: <svn-sth_at_mnet-online.de>
Date: Fri, 20 Nov 2009 10:26:50 +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/pfreladm/powerflow/svnrep/tools/hooktest
=========================================================
everything is fine.
if i call it like:
svn.pre-lock.block_stealing.sh /home/.../hooktest testfile&testfile user
Rep: /home/pfreladm/powerflow/svnrep/tools/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, so i will enter it as bug.
kind regards,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.