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

Re: Changing the way the server looks for hooks

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-11-12 22:06:05 CET

cmpilato@collab.net wrote:

>=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:
>
>
>
>>Before I sign off for today, I'd like to share this in case I forget...
>>
>>Currently our repository hooks system is very Unixy, and in fact only
>>works in Unix. That's because libsvn_repos tries to run specific files
>>in the hooks/ directory, and on Windows, for example, those files don't
>>have the right extension to be "executable".
>>
>>
>
>Can we not create repos/hooks/post-commit.bat, for example? Or
>repos/hooks/post-commit.exe?
>
Of course we can, but Subversion won't look for that file at the moment.
I'd rather create a flexible hook configuration file, than add a bunch
of system-specific file names to look for.

Just as an example: the box I'm typing this on -- a laptop with WinXP --
defines 10 different "executable" extensions. I'd rather not check for
them all.

    Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 12 22:06:58 2002

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.