开发者

subversion hook template for access control on windows

开发者 https://www.devze.com 2023-01-10 04:01 出处:网络
I set up a subversion server with bitnami stack for subversion on windows XP operating system. It was for local network and i would like to control steal lock and break lock abilities in accessing the

I set up a subversion server with bitnami stack for subversion on windows XP operating system. It was for local network and i would like to control steal lock and break lock abilities in accessing the repo. I changed pre-lock.tmpl and pre-unlock.开发者_运维知识库tmpl to executable but it still is not working yet. It worked well when i tested it on linux system for bitnami stack. When i peeked into the template script, the script is for linux system. Can i get the script to work on windows XP?


The hook scripts in Windows are Batch files, not .EXE executables. The hook scripts should be changed to <name>.bat, e.g. pre-unlock.bat

Code the .bat file just like you would any other Windows CMD.EXE script.

0

精彩评论

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

关注公众号