> From: cmpilato@collab.net [mailto:cmpilato@collab.net]
> Sent: 19 September 2001 17:35
> Joe Orton <joe@manyfish.co.uk> writes:
> 
> > Try this, for peace of mind :)
> > 
> > Index: subversion/clients/cmdline/commit-cmd.c
> > ===================================================================
> > --- subversion/clients/cmdline/SVN/text-base/commit-cmd.c	Tue 
> Sep 18 17:09:23 2001
> > +++ subversion/clients/cmdline/commit-cmd.c	Wed Sep 19 16:21:17 2001
> > @@ -55,6 +55,12 @@
> >    else
> >      message = opt_state->message;
> >    
> > +  if (message == NULL)
> > +    {
> > +      return svn_error_create (APR_EGENERAL, 0, NULL, pool,
> > +                               "I can't let you do that, Dave.");
> > +    }
> > +
> >    targets = svn_cl__args_to_target_array (os, pool);
> >  
> >    /* Build an authentication object to give to libsvn_client. */
> 
> Heh, perhaps wrapped with:
> 
>    if (! strcmp (username, "cmpilato"))
What about an option in /etc/svn.conf or ~/.svnrc which activates
this?
allow_empty_log_message = no
This is ofcourse a bit too long, but I consider the option usefull.
Sander
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:41 2006