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

Re: Request for more hooks

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 12 Mar 2009 08:20:31 -0400

On Thu, Mar 12, 2009 at 07:37, Andrew Simpson
<tsvn-357654_at_simpsonite.com> wrote:
> Hi,
>
> Our project is trying to implement a mechanism to automate various build-related tasks (e.g. assigning version numbers, ensuring different build items are compatible, generating release notes, etc.)  In order to help generate release notes and keep track of dependencies, we are trying to enforce a standard template for each commit message.
>
> The enforcement can be done easily enough at the server, but we would like TortoiseSVN to generate the template for us.  For a normal commit, we've successfully done this using a start-commit hook.  However, when branching, tagging, or using any other operation that requires a message (e.g. copying or deleting via the repo-browser), the script is not executed.

TSVN already has a facility for setting a log template.
tsvn:logtemplate
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/ch05s15.html

The enforcement must be done at the server, because you can't be
guaranteed that every user will be using TSVN. Even if they are using
TSVN, they could edit the template and violate your standard.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1312608

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-12 13:20:51 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.