Is there any pre-commit validation to validate existence of comments/java-docs for the code before committing to SVN?

149 views Asked by At

Does it has to do with Android Studio ? what If some one using other GUI for SVN?

2

There are 2 answers

3
Gavin On

I think the problem is a little wider. While you might be able to compele somebody to add a commit message either through policy (with penalties such as formal warnings etc), or perhaps SVN has pre-commit hooks; would the messages be useful and meaningful?

Perhaps making sure you do peer reviews and education is the way to solve this issue.

2
Mohsin AR On

This is responsibility of team lead or project manager, when he/she assigns a project to team then a project manager/lead have to order his/her team to write comments before committing code on SVN