[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Admin Scripts

From: Adam Mercer <ramercer_at_gmail.com>
Date: 2007-03-07 18:35:50 CET

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

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.