SVN hooks for Windows

后端 未结 9 934
温柔的废话
温柔的废话 2021-01-30 00:18

I did a little googling and found that there isn\'t really a resource of SVN hooks for Windows. So I figured I\'d start a wiki here to centralize it.

If you contribute,

相关标签:
9条回答
  • 2021-01-30 01:06

    For the .NET developers using Subversion on Windows, Phil Haack posted about CaptainHook.

    CaptainHook is a simple plugin framework for writing Subversion hooks using .NET

    The project is hosted at Source Forge

    0 讨论(0)
  • 2021-01-30 01:06

    I started a repository of hooks using C#. My first hook was one to send check in notices to a RSS feed: SubversionRss I'm currently working on one post-commit hook to send check in notices to a Twitter feed.

    0 讨论(0)
  • 2021-01-30 01:07

    Prevent commits with empty comments

    1. pre-commit
    2. prevents commits with empty comment

    Source:

    "c:\Program Files\Subversion\bin\svnlook.exe" log -t %2 %1 | FindStr [a-zA-Z0-9]
    IF %ERRORLEVEL% EQU 0 GOTO OK
    echo "Commit Comments are Required" >&2
    exit 1
    :OK
    exit 0
    
    0 讨论(0)
提交回复
热议问题