That was included as the example of a pre-commit hook in the bundled
pre-commit hook template, when I got svn anyway.
Note, however, rejecting "empty" changelogs doesnt actually help much.
(I often see the changelog entry of "notes in code", for example)
Also note, once again, pre-commit hooks are not applied until after all
data has been transmitted. It can be annoying to transmit a huge entry
only to have it rejected because of a commit message problem. I'd
recommend instead having a post-commit which checks the message and
sends an e-mail asking for a better message if it's empty.
Cafer Şimşek wrote:
>Hi all,
>
>Is there any way to reject committing without changelog or empty
>changelog.
>
>Thanks for all
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 22 02:53:45 2005