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

TSVN hooks determine relative path

From: Sebastian Nehls <snehlsen_at_googlemail.com>
Date: 2007-06-19 15:31:17 CEST

Hi,

i am trying to use the local hooks that TSVN supports. In my project there
is a folder /test that contains all testscripts i want to execute upon
checkin. I wrote a batchfile that should call a perl script in the test
folder. Batchfile and perl script are in the same folder. My problem is to
relatively adress that test folder, simply using .\test isn't working,
neither is %CD%\test, because the hook skript is executed in some temp
directory.
So how can i determine the location of the hook script in my project,
during runtime?

greets
snehlsen
Received on Tue Jun 19 16:19:54 2007

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

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