Re: Can the commit message be changed by a hook?
From: Alan Barrett <apb_at_cequrux.com>
Date: 2006-11-02 22:01:56 CET
On Thu, 02 Nov 2006, Ryan Schmidt wrote:
Right. See tools/hook-scripts/log-police.py in the svn distribution
I use
${SVNLOOK} propget --revprop -r "${REV}" "${REPOS}" svn:log
to get the original log message, massage it as desired, and then
${SVNADMIN} setlog --bypass-hooks -r "${REV}" "${REPOS}" "${TMPFILE}"
to store the new message.
> Note that you also need to install a pre-revprop-change hook to allow
That part's not necessary if you use svnadmin setlog --bypass-hooks.
--apb (Alan Barrett)
---------------------------------------------------------------------
|
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.