Hi Gary,

Gary Gregory wrote:

> On Oct 11, 2011, at 16:09, "Jörg Schaible" <joerg.schai...@gmx.de> wrote:
> 
>> sebb wrote:
>>
>>> On 11 October 2011 20:07,  <ggreg...@apache.org> wrote:
>>>> Author: ggregory
>>>> Date: Tue Oct 11 19:07:08 2011
>>>> New Revision: 1182026
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev82026&view=rev
>>>> Log: (empty)
>>>
>>> Why?
>>>
>>> If this is to fix a JIRA, it would be helpful to have the reference.
>>
>> I am quite sure, this was accidental. Happens to me also from time to
>> time. In the office we have configured the svn server to reject commits
>> with empty or non-reasonable comments (like 'aaaaaaaaaa'). At least our
>> svn server here is setup to fix the comment afterwards.
>>
> 
> Yes, an slip of the fingers.
> 
> I'd like to see our SVN server implement the no empty comment rule.

we use a pre-commit script with following snippet:

============ %< ==============
# Make sure that the log message contains some text.
SVNLOOK=/usr/bin/svnlook
$SVNLOOK log -t "$TXN" "$REPOS" | \
   tr -cds '[:alnum:]' '[:alnum:]' | grep -e ".\{3\}" > /dev/null || exit 1
============ %< ==============

However, this is a repo-wide setting, not sure if INFRA would like to add it 
in this case.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to