Thank your very much for your quick response.
But I'm ashamed to say, I don't have enough skill to understand your
explanation easily.
I created the object named "pre-revprop.change" in "hooks" folder by
copying "pre-revprop-change.tmpl" in the folder.
And I knew it's a UNIX like command, after checking the meaning of "chmod"
on web site.
Though the OS of my PC is windows, is it useful too ?
If so, could you please explain about "execute bit" in detail ?
Thank you and best regards.
Fusako
Ryan Schmidt <subversion-2008c_at_ryandesign.com>
2008/09/06 09:37
$B08_at_h(B
eg <egoots_at_gmail.com>
cc
watanabe_at_belldata.co.jp, users_at_subversion.tigris.org
$B7oL>(B
Re: About pre-revprop-change
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.
Received on 2008-09-08 17:44:18 CEST