[hook-script] new pre-commit script to add bugzilla urls to log messages
From: Jon Bendtsen <Jon.Bendtsen_at_laerdal.dk>
Date: 2005-09-09 14:10:58 CEST
Hi whoever is interested.
I have made a pre-commit hook script that adds bugzilla urls to log
This script CHANGES the props file in the transaction directory.
From those parameters it finds the right props file, and starts to
2. it checks if the extracted logmessage size and the log message
3. it parses the logmessage finds text and numbers starting with
One may specify more than one bug number seperated by space , . + #
The bugnumber is appended to the bugurl and added to the logmessage.
4. finaly the new logmessage size is calculated and put into the
From here the commit proceeds as usual.
The bugurl is specified in the top of the script
JonB
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.