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

Re: Get Svnlook output from .bat file

From: eg <egoots_at_gmail.com>
Date: 2007-11-20 22:13:50 CET

Roth, Pierre wrote:
> I tried to write the output to a temp file as described in another
> thread. But now, that log info is in this temp file, I can't get it back
> to my batch, to pass it to my trac-pre-commit-hook python script... I
> tried the file:%LOG_FILE% ... Did not work...

What is the error you are getting?

> SET LOG_FILE=%TEMP%\svnfileT-%REV%
> "%PYTHON%" "%HOOKS_DIR%\trac-pre-commit-hook" %TRAC_ENV% file:%LOG_FILE%

%LOG_FILE% should give you the file name that you defined above.

Is that what your python script expects.

You could issue and ECHO ON right before the call to python and a PAUSE
right after and then "see" what the exact command after resolving all
your env variables is.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 20 22:14:48 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.