Can CVS comments be binding?

I think I will really help to help people who forget, Cruise Control sends details of commits to everyone, so people tend to add a meaningful comment, but sometimes they forget.

+3
source share
5 answers

You can write a pre-commit hook that checks this. This requires access to the CVS server.

+8
source

You will also want people to track the comments that people add.

Or expect a flurry of comments "foo", "checkin", "commit", "changed code" when people try and bypass your check.

/ , ...

+9

, CVS, , , , , . , , , (, ​​ -). , - , . , , , .

+4

The verifymsg file looks the way you want, although I never tried it myself. If the commit comment does not meet certain criteria, the commit is aborted.

+1
source

We use Subversion and Tortoise, and this can be done.

Basically, you need to set the tsvn: logminsize parameter to the trunk line folder. This will allow you to set a minimum comment length (all> 1 will result in mandatory comments)

-2
source

Source: https://habr.com/ru/post/1699414/


All Articles