Support contrib pre&post-commit hooks for SVN(subversion) on Windows
|Reported by:||ivanoe||Owned by:|
|Severity:||normal||Keywords:||contrib hook windows|
Windows shell has some differences compare to the linux ones. One of the limitations is the unability (at least I did not find how to do it) to assign return values from calling other commands. To solve this problem, temporary files can be introduced. In attached files the changes to TRAC as I implemented it. I would like TRAC dev-team to take a review and possibly marge those into trunk, since those can be useful for other users on Windows as well.
The examples of the pre-commit.bat and post-commit.bat in the subversion repositories are also embedded into header comments in the trac-pre-commit-hook and trac-post-commit-hook files.
Also attached are my own subversion hooks.
Note: I am not sure if the component 'general' is correct one. Shall there be 'integration' or something. ivanoe|at|ivanoe.net
Change History (25)
comment:1 by , 15 years ago
|Keywords:||contrib windows added; subversion removed|
|Milestone:||0.8 → 0.9|