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.
You can write a pre-commit hook that checks this. This requires access to the CVS server.
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.
/ , ...
, CVS, , , , , . , , , (, -). , - , . , , , .
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.
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)
Source: https://habr.com/ru/post/1699414/More articles:How can I check in an InfoPath form whether a user exists in the SharePoint Portal? - validationdefinition of a file name? - filesystemsOpen Source Web Service / Media Streamer WCF - web-servicesFinding out if an LDAP user is blocked in Sun Directory Server 5.2, in Java - javaMySQL and C Applications - c ++Read-only DataGridView and IEditableObject - .netCompiling a Castor schema creates a different class hierarchy depending on the elements of the schema - javarelease configuration management - version-controlBest .Net library for editing WMA tags? - .netСохранение кода JavaScript в после возврата ASP.Net. - javascriptAll Articles