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

Re: Automatic prefix and suffix for commit messages

From: Krzysiek Pawlik <nelchael_at_gentoo.org>
Date: 2007-03-16 22:50:17 CET

C. Michael Pilato wrote:
> So, I'm pretty opposed to the idea of putting this support inside Subversion
> itself. Very niche-y, and (for the most part) very likely to be completely
> superceded by the log message templates features.

The log message templates are server-side feature, quoting Ben:

> The idea is that the administrator would configure the server
> with log message templates -- some sort of form for a user to fill out
> ("fixes bug:", "reviewed by:", etc.), and then the server broadcasts
> this template to each client.

SVN_LOG_* are client-side and don't require filling any template.

[ cut script ]
> Only downside is that you can't cancel a commit you've begun this way if
> either SVN_LOG_PREFIX or SVN_LOG_SUFFIX is set (because the temporary file
> will have been modified, an indication to Subversion that the commit log
> message is good to go).

It also doesn't like the -m switch, so it won't work (just like using scripts in
vim like Ryan suggested).

Krzysiek Pawlik   <nelchael at gentoo.org>   key id: 0xBC555551
desktop-misc, desktop-dock, x86, java, apache, ppc...

Received on Fri Mar 16 22:47:45 2007

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.