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

Re: Post commit hook script: strange behavior

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-06-06 14:31:57 CEST

On 06.06.2005, at 12:41, Lutz Frommberger wrote:

> The script invoked by the hook script hangs, and the commit does not
> finish at remote side. The line the script stops at is:
>
> cat keywords.txt | xargs -P 1 -n 2 --replace=KEY /usr/bin/bib2bib -c \
> 'keywords: "KEY"' ./r3-literature.bib -ob KEY.bib

[snip]

> If calling post-commit from a shell (as user www-data), the script
> works
> without a problem. Also the script runs without a problem when invoked
> by cron (as the same user). Hardware problems are very unlikely, the
> server moved to new hardware recently without changing this behavior.

Have you tried /bin/cat and /usr/bin/xargs (or whatever their paths are
on your system) instead of just cat and xargs?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 15:14:56 2005

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.