--- Jonathan White <jonathan.white@oeaw.ac.at>
schrieb:
>
> hwtoaster-3dc@yahoo.de wrote:
>
> >I have an repository, where I put a file called
> >post-commit.bat in the hook-directory, which has
> the
> >function of just creation a .txt-file with a static
> >text for testing.
> >When I do a commit, it should create the txt, but
> it
> >doesn't, maybe it's a problem with the
> environmental
> >settings, but I don't know what to change to get it
> >work.
> >
> >
> I was having similar problems - I couldn't get the
> hook script to be
> called until I read Peter McNabs mail to the list
> 'Hook scripts for
> win32'. He adds the Subversion bin folder to the
> path and everything
> works like a dream:
>
> rem Post-Commit Hook script for Subversion
> @echo off
> rem Add path to Subversion executable
> set path=%path%;c:\Program Files\Subversion\bin
> rem Dump revision
> set destDir=c:\dumps\revisions
> mkdir %destDir%
> svnadmin dump --incremental --deltas --revision %2
> %1 > %destDir%\r%2
> exit 0
>
> Hope that helps
>
> Jonnie
>
>
>
Ok, my simple batch file is running now, the error
was, that i tried to write the .txt in the hook
directory, which seems to be forbidden.
So now I can run a batch file after a commit, but I
don't understand who to call the mailer.py, can you
explain that to memore detailed, please (maybe with an
example batch, where you call the mailer.py with its
parameters?)
THANKS!
Franz
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 9 16:55:31 2005