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

Re: Previous transaction name in pre-commit script?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-11-21 05:13:45 CET

On Nov 20, 2007, at 04:54, Sas Janusz wrote:

> SET REPOS=%1
> SET TXN=%2
> FOR /F "tokens=1,2 delims= " %%i IN ('svnlook changed %REPOS%') DO (
> ECHO %%j %TXN%> E:\check-file.txt
> )
> EXIT 0

Don't you need 'svnlook changed %REPOS% -t %TXN%'?

I would think you'd also need the full path to svnlook, since hooks
are supposed to run with an empty environment, hence they shouldn't
be able to find svnlook or any other executable on their own.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 21 05:14:33 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.