[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: Thu, 2 Apr 2009 06:47:01 -0400

Please Reply To All to keep discussion on-list.

On Thu, Apr 2, 2009 at 03:58, Tiberiu Aluas <altis10_at_yahoo.com> wrote:
> Ah, ok thanks....
>
> Is there any example template available to see how can this hook be made?
>
> Thanks again and sorry for bothering with such trivial question...

I'm certain there are plenty to be found with a bit of Googling. It's
not much more than string pattern matching.

> --- On Wed, 4/1/09, Andy Levy <andy.levy_at_gmail.com> wrote:
>
> From: Andy Levy <andy.levy_at_gmail.com>
> Subject: Re: commit log message template
> To: altis10_at_yahoo.com
> Cc: users_at_subversion.tigris.org
> Date: Wednesday, April 1, 2009, 5:34 PM
>
> 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=1517330

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-02 12:47:52 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.