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

RE: Wrong date/time in "svn log" output

From: Brandt, Servatius <Servatius.Brandt_at_fujitsu-siemens.com>
Date: 2005-12-07 11:51:41 CET

Greg Thomas wrote:

>How about the attached pre-commit.bat file - it just looks for all
>pre-commit*.pl files and runs each of them. It's easy enough to change
>for python files, too.
>
> set PERL=C:\Perl\bin\perl.exe
>
> set EXIT_CODE=0
> for %%I in ("%~dp0/pre-commit-*.pl") do %PERL% %%I %1 %2 & if
>ERRORLEVEL 1 set EXIT_CODE=1
>
> exit %EXIT_CODE%
>
>I've got an equivalent bash script, too as I don't keep all my commit
>hooks in the same file.

Thanks. I'll use such a pre-commit.bat starter to execute my bash/ksh
pre-commit file, which I don't have to change then. I'll try a shell
from MS SFU (Services for Unix or Interix), so I won't have to install
Cygwin on the server at all.

Regards,
Servatius

------------------------------------------------------------------------
Servatius Brandt Phone: +49 89 636-41504
Fujitsu Siemens Computers Fax: +49 89 636-48716
EP SW AD C++ Email: Servatius.Brandt@fujitsu-siemens.com

------------------------------------------------------------------------
Servatius Brandt Phone: +49 89 636-41504
Fujitsu Siemens Computers Fax: +49 89 636-48716
EP SW AD C++ Email: Servatius.Brandt@fujitsu-siemens.com

>-----Original Message-----
>From: Greg Thomas [mailto:thomasgd@omc.bt.co.uk]
>Sent: Tuesday, December 06, 2005 6:02 PM
>To: Brandt, Servatius
>Cc: Ben Collins-Sussman; Peter N. Lundblad; Erik Huelsmann;
>Ph. Marek; dev@subversion.tigris.org
>Subject: Re: Wrong date/time in "svn log" output
>
>On Tue, 6 Dec 2005 17:45:47 +0100, "Brandt, Servatius"
><Servatius.Brandt@fujitsu-siemens.com> wrote:
>
>>Could this
>>be changed to a Windows-like behaviour? Instead of trying just ".bat"
>>and ".exe", each extension listed in the $PATHEXT should be
>tried. The
>>Windows cmd.exe works this way.
>
>How about the attached pre-commit.bat file - it just looks for all
>pre-commit*.pl files and runs each of them. It's easy enough to change
>for python files, too.
>
> set PERL=C:\Perl\bin\perl.exe
>
> set EXIT_CODE=0
> for %%I in ("%~dp0/pre-commit-*.pl") do %PERL% %%I %1 %2 & if
>ERRORLEVEL 1 set EXIT_CODE=1
>
> exit %EXIT_CODE%
>
>I've got an equivalent bash script, too as I don't keep all my commit
>hooks in the same file.
>
>Greg
>--
>This post represents the views of the author and does
>not necessarily accurately represent the views of BT.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 7 12:01:47 2005

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

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