tortoisesvn - Tortoise tsvn:logminsize help -
I want my team to put at least X # characters in a comment in turtles. Is there a hook to do this? I think I have to use a property called STNN: LogMansized but I do not know how to add that property globally to all the property so that anyone on the team when checking any code for X Character input is required.
You can add it to a precomit hook in SVN (Turtle is just a GUI client for SVN, so it is only in your SVN server )
- Under your repository directory, you will get a hook / pre-comment. Tmpl.
- Edit this file and save it as a pre-commit and make it executable
- Check the comment length inside the file and return zero zero values if it is less Less x # characters.
Note that precomitated files can be in any language (dragon, shell script etc).
Additional Details Here
Comments
Post a Comment