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

Re: About pre-revprop-change

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 5 Sep 2008 19:37:01 -0500

On Sep 5, 2008, at 1:48 PM, eg wrote:

> watanabe_at_belldata.co.jp wrote:
>> I'm a biginner of SVN in Japan, I want to change the past log-
>> message, but I got an error from SVN like 'Ask your administrator
>> to create the hook of pre-revprop-change'. But there is no
>> information about it in my manual and I have no idea about the
>> administrator it's mentioned.
>> Could someone teach me the way to change the log message or change
>> past log-message ?
> It is also on the Subversion FAQ
> see:
> http://subversion.tigris.org/faq.html#change-log-msg

It is also provided for you in the script pre-revprop-change.tmpl in
the hooks directory of your repository. This is an example script
designed to show you how to write a pre-revprop-change hook, and the
example given happens to be how to allow log messages to be changed.
Simply copy the file pre-revprop-change.tmpl to pre-revprop.change
(without an extension) and give the script the execute bit (for
example with "chmod 755 pre-revprop-change") and that should be all.
You may want to read the script too to see how it was done.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-06 02:37:47 CEST

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.