Home » Community » Coffee corner » SVN hooks
Re: SVN hooks [message #24707 is a reply to message #24636] |
Thu, 28 January 2010 08:47 |
|
Hi Mirek,
It looks that I was wrong about the versioning It seems that it is not possible to modify versioned files from hooks. I couldn't even find any workaround...
But at least the log checking script might be useful. Just copy the attached file into the hooks directory in svn repo and set it executable. It will check if log message includes any non-whitespace characters. If the check fails, error message is set to client. I did test if it works, but please make sure that it will work on your svn too. If there's any error, it would prevent anyone from committing.
Honza
-
Attachment: pre-commit
(Size: 0.48KB, Downloaded 291 times)
|
|
|
Goto Forum:
Current Time: Mon Apr 29 19:10:08 CEST 2024
Total time taken to generate the page: 0.02217 seconds
|