On 07/03/07, Res Pons <pons32@hotmail.com> wrote:
> Hi eveyrone
>
> I need to try to write a pre-commit script so developers are enforced to
> enter a comment for each checkin and all their comments must be preceded
> with a bug#. e.g. 1234 Fixing Javadocs blah blah.
>
> I'm not sure if this is accomplished via a pre or post commit. I know Perl
> and shell scripting -- NO Python or Ruby. Our SVN runs on a linux server.
> Could someone please give me some examples or URL's how to do this. The SVN
> manual provides no examples just vague descriptions or references.
>
> I appreciate all the help.
I attached a bash script which checks that a log message has been
specified, it doesn't check for the bug number like you want but this
should provide a starting point.
Cheers
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 7 18:36:42 2007