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

Re: RFC: Log Message Templates via new hook.

From: Michael Sweet <mike_at_easysw.com>
Date: 2005-05-19 14:07:04 CEST

As a user, I would like to see the following log message template
functionality:

     1. Per-directory templates

     2. Basic substitution/expansion from a static template, e.g.:

          Insert your summary here, followed by details for the
          following files:

          $Files$

        would expand to:

          Insert your summary here, followed by details for the
          following files:

          foo/bar1.c
          foo/bar2.c
          foo/bar3.c

        Right now the only keyword I can think of is "$File$" -
        everything else (repos, rev, author, etc.) is available
        in the repos.

     3. Some mechanism to validate log messages and stop the
        commit if the log message doesn't pass.

I'm not too concerned about *how* this functionality is provided,
however it seems to me that #1 would be satisfied by a new
svn:log-template directory property, #2 would be satisfied by a
little API on the client side, and #3 would be satisfied by the
existing pre-commit hook.

I don't see how a dynamic template hook would be that useful since
you can bypass the template by providing the log message directly
in the commit... My "vision" of templates is just a suggestion to
the user beyond what is already provided.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 19 14:08:25 2005

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

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