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

Re: executing hooks fails (SVN 1.4.6 on linux)

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Fri, 6 Feb 2009 14:25:18 -0800

On Fri, Feb 6, 2009 at 1:57 PM, Peter Gliwa <peter_at_gliwa.com> wrote:

>
> >> When you say it fails to run, do you mean that it does not run at all?
>
> >> Can you tell us the command you are using to set a revision property
> >> (unversioned property)? Note that you have to change a revision property
> >> using the command similar to the one listed in this faq entry:
> >> http://subversion.tigris.org/faq.html#change-log-msg
>
> >> The revision properties are svn:log, snv:author, svn:date and
> >> svn:autoversioned.
>
> >> regards,
> >> -Hari
>
>
> Thanks for your immediate response, Hari!
> Committing, checking out etc. works fine. Just modifying the log-messages
> fails (i.e. executing the pre-revprop-change hook).
> I am using TortoiseSVN via https. However, I just tried it from a linux
> machine with the command I took from the link you sent. But same result:
>
> $ svn propset -r N --revprop svn:log "new log message" URL
> svn: DAV request failed; it's possible that the repository's
> pre-revprop-change hook either failed or is non-existent
> svn: At least one property change failed; repository is unchanged

I am sure you did run the command with the right arguments. That said, cut
paste of the command from the faq doesn't help. Please provide the exact
command that you were running.

>
>
> It must be a server configuration problem, since I moved the repos to a new
> server. The repos (including the hooks) and TortoiseSVN remained the same.
>

There is a chance this is the problem. Please check the apache config to
verify the location of the repository. May be you are creating the hook
script at a different repository and the checkout etc being done from
repository at another location.

rgds
-Hari

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1114972

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-06 23:26:11 CET

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.