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

Re: post-commit frustrations, not working

From: Kevin Tomasek <ktomasek_at_d2audio.com>
Date: 2007-11-01 20:15:08 CET

John Peacock wrote:

john,

you can add this to your list of foibles.. my problem was the file i
was writing *to* is in /tmp. well /tmp on the machine for the client,
is not the machine for the svnserver. it had been writing to the /tmp
directory of the server all along. you may wish to add something like
'the hook scripts run on the svnserver'. if i already exists, get out
the rubber bat and bonk me on the head.

thanks for your attention..

> Kevin Tomasek wrote:
> > REPOS=$1
> > REV=$2
>
>
> > command line execution:
> > bash-3.00$ ./post-commit beanhead /pathto/beanhead
> > test
> > /pathto/beanhead
>
> The first parameter to the post-commit script is the full path to the
> repository directory; if you are in the hooks directory, $PWD/.. is
> sufficient. The second parameter to the post-commit script is the
> revision number that has just been committed (you can actually give it
> any revision number for testing purposes). You are not passing it the
> same information when you test it on the command line as when Subversion
> is executing it.
>
> Ignore the other messages about hook scripts and try this one:
>
> http://svn.haxx.se/users/archive-2007-10/0498.shtml
>
>
>
> John
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
Received on Thu Nov 1 20:16:27 2007

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.