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

Re: Having a problem with pre-commit hook parameters

From: Kurt Pruenner <leak_at_gmx.at>
Date: Tue, 21 Oct 2008 17:35:43 +0200

David Moll wrote:
> I've looked at the four arguments passed into the script and none of
> them would work with the svnlook log command. It seems like the path
> passed in as the repository path should not be some temp file buried
> in my local settings directory.

Errr... you're not supposed to use that as a TSVN hook script on the
client side, but as a server-side SVN hook script:

http://svnbook.red-bean.com/en/1.5/svn.reposadmin.create.html#svn.reposadmin.create.hooks
http://svnbook.red-bean.com/en/1.5/svn.ref.reposhooks.pre-commit.html

As you can see, a server-side pre-commit hook has exactly the two
parameters your script expects.

-- 
Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
.......It might be written "Mindfuck", but it's spelt "L-A-I-N".......
np: New Order - The Beach (Power, Corruption & Lies Extras)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-10-21 17:35:57 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.