Get Svnlook output from .bat file
From: Roth, Pierre <pierre.roth_at_covidien.com>
Date: 2007-11-20 10:46:01 CET
Hi,
I posted some days ago on which Os is prefered to run subversion on ? My
But this is not the subject of my email; so here's my question : I would
I tried to write the output to a temp file as described in another
Here is my pre-commit.bat hook....
Any help from somebody who has some batch knowledge would be very
Thanks,
-----------------------------------
SET SVN_DIR=C:\Program Files\Subversion
SET PYTHON="%PYTHON_DIR%\python.exe"
%SVNLOOK% log -t %REV% %REPOS%>%LOG_FILE%
"%PYTHON%" "%HOOKS_DIR%\trac-pre-commit-hook" %TRAC_ENV% file:%LOG_FILE%
IF ERRORLEVEL 1 SET TRAC_CANCEL=YES
---------------------------------------------------------------------
|
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.