Anybody know how to make this work if the path to your repository (and
the Subversion binaries) has an ampersand in it? E.g.
C:\Data\R&D\Subversion\repository
Scott
On Mar 30, 2005, at 1:57 PM, Mark Parker wrote:
> Why would you install and run something as heavy as a perl interpreter
> for something as simple as checking a log message?
>
> I'd go with something like this:
>
> ----------------------------------------
> @echo off
>
> setlocal
> set REPOS=%1
> set TXN=%2
>
> rem check for an empty log message
> svnlook log "%REPOS%" -t "%TXN%" | findstr "." > nul
> if %errorlevel% gtr 0 goto err
> exit 0
>
> :err
> echo You must provide a log message. 1>&2
> exit 1
> ----------------------------------------
>
> No need to get overcomplicated.
>
>
> ed.wittmann@fiserv.com wrote:
>> I'd probably put Perl on that windows box and use it instead of a
>> batch
>> script - or you could use a vbs script.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 30 23:45:55 2005