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

Client Hook-Script

From: David Reher <David.Reher_at_gmx.de>
Date: Thu, 18 Mar 2010 09:37:10 +0100

Hi!

TortoiseSVN 1.6.7, Build 18415, Win2000 Pro

I wanted to have a client hook-script which writes out the current rev.
number.

Therefore I wrote the following script:

echo %3 > C:\Sandbox\version.txt
exit 0

Then I went to TSVN->Settings->Hook-Scripts and made a new entry. Selected
Post-Update hook and wrote into "Command Line to Execute:"
"C:\Sandbox\version.bat".

While updating next time (nothing in the repo has changed) i got the
following text:

Update
At revision: 87
The hook script returned an error:

This is all. No error code or anything else.

Can someone please tell me what i did wrong? I tried executing the script
without any parameter but even then it works fine.

Greetings!
David

-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2461507
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-18 09:42:13 CET

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.