Add comment to subversion commit automatically
Posted
by Paul Alexander
on Stack Overflow
See other posts from Stack Overflow
or by Paul Alexander
Published on 2010-03-19T21:56:17Z
Indexed on
2010/03/19
22:01 UTC
Read the original article
Hit count: 1811
subversion
|pre-commit-hook
I've already got my subversion repository set up to require comments of a minimum length to accept a commit. However, I'd like to start tagging those comments with information from our bug tracking system when committed. I've already got the scripts set up to pull data from the bug tracker and just need a way to get that info into the subversion commit comments.
How can append to the existing comment in subversion automatically?
For reference, the subversion repository is hosted on a linux server with Ubuntu 9 something installed and I have complete root access to the machine.
© Stack Overflow or respective owner