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

Re: Commit Template

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-21 16:30:25 CET

On Mar 21, 2006, at 09:37, Bryan Lehane wrote:

> I have heard that a commit template is an upcoming feature of
> Subversion but for the moment it can be implemented
> using hooks. I am new to Subversion and have no idea how I'd go
> about doing this. Does anyone know how to do this?
>
> PS when I say commit template I mean when I type "svn commit" a
> template will appear that my team members will
> fill out:
>
> Team A SVN log message
>
> Description :
>
> Reason :

It cannot be implemented in a hook, but it can be enforced in a pre-
commit hook: that is, disallow any commit whose log message does not
match the format you require, and distribute (by some other means,
such as email) the template all users are to use.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 21 16:39:44 2006

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