[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: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-11-01 18:50:12 CET

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 18:50:55 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.