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

Re: how to "hook" a executable program?

From: <kfogel_at_collab.net>
Date: 2003-05-02 17:18:05 CEST

Chien-Lung Wu <cwu@deltartp.com> writes:
> Following is the post-commit.bat:
> /**** Begin post-commit.bat
> rem !/bin/sh
> echo off
> test.bat
> /**** end of post-commit.bat ****/
> Theoretically, if I commit a file, the post-commit.bat will be
> triggered, and then the test.bat will be executed
> once. That means the e-text will be renamed to be x.txt.
> Unfortunately, this don't happen. Anything wrong with this
> procedure?

You're doing things right, there's just some small problem (I don't
know what).

Maybe it can't find test.bat? Perhaps you should give a full path to

Try a simpler test first -- just make your hook create a file
somewhere, so you know it ran. That is, instead of running test.bat,
the hook script *itself* will do something visible.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 2 18:05:34 2003

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.