开发者

hook scripts tutorials? [closed]

开发者 https://www.devze.com 2022-12-08 06:48 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I've been trying to find some tutorials on writing hook scripts, and so far my search has been pretty fruitless. Can anyone point me in the direction of a good source? I've checked the SVN book, but can't find anything that detailed i开发者_开发技巧n there (although I may simply not have looked in the right place). any help is appreciated. BTW: I simply want to make a client side hook that exports data on commit. best SWK


SVN hook scripts are server-side, not client side. svn runs the hook script on the server where the repository is stored.

luckily, if you are using tortoisesvn, it has some support for client-side hooks. i haven't used it, but here is a link that i found: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-hooks


After much searching discovered that I can attach a .bat file to the hooks in settings. Not done any batch scripts before, no time like the present!

0

精彩评论

暂无评论...
验证码 换一张
取 消