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

Re: commit log message template

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 1 Apr 2009 10:34:29 -0400

On Wed, Apr 1, 2009 at 10:15, Tiberiu Aluas <altis10_at_yahoo.com> wrote:
> Hi there,
>
> I'm relative new with the SVN repository and I want to know if there is a
> possibility to use as commit log message a template which will be modified
> by every user when he/she is commit something.

Subversion doesn't have this built in. What you can do is create a
pre-commit hook script to check the format of the incoming log
message, and reject the commit if it doesn't match the template you've
set.

TortoiseSVN has a tsvn:logtemplate property which can be applied
recursively, but only TSVN will actually use this template so you'll
need the hook script to do any "solid" enforcement.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1507537

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-01 16:35:21 CEST

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