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

Re: commit-email.pl violates rfc2822

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 18 Apr 2011 22:55:26 -0500

On Apr 18, 2011, at 19:51, Doug Claar wrote:

> rfc2822 section 2.1.1 specifies that “Each line of characters MUST be no more than 998 characters…excluding the CRLF.” (http://www.faqs.org/rfcs/rfc2822.html)
>
> commit-email.pl has no mechanism to check/enforce that; thus, a large checkin of many directories will create an email message that violates the rfc. I could not find an existing bug for this problem.

That's probably because commit-email.pl has been deprecated for years, meaning you're not supposed to be using it anymore. See the comment header:

http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/commit-email.pl.in

# ====================================================================
# This script is deprecated. The Subversion developers recommend
# using mailer.py for post-commit and post-revprop change
# notifications. If you wish to improve or add features to a
# post-commit notification script, please do that work on mailer.py.
# See http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/mailer .
# ====================================================================
Received on 2011-04-19 05:56:04 CEST

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.