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

Re: Erroneous pre-commit hook prevents correction commit of pre-commit hook

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Mon, 14 Jan 2008 01:26:39 -0600

On Jan 14, 2008, at 01:15, antti.kokkonen wrote:

> Andy Levy wrote:
>
>> On Jan 11, 2008 7:33 AM, antti.kokkonen wrote:
>>
>>> I created new pre-commit hook to test how it works, and noticed that
>>> there
>>> is an error in the pre-commit script, which prevents all new
>>> commits. -->
>>> I
>>> can't commit correction to the erroneous pre-commit, because the
>>> erroneous
>>> pre-commit prevents it!
>>>
>>> So I can't commit anything to the repository, delete the erroneous
>>> pre-commit or commit correction to the pre-commit, because the
>>> one in the
>>> repository prevents it.
>>>
>>> Because I was just testing how the hooks work, that pre-commit
>>> hook isn't
>>> actually needed, so how can I delete the pre-commit (or change
>>> it, or
>>> something)?
>>
>> Remove it from your hooks directory, or rename it.
>
> that's the problem, this does not help :(
>
> I assume pre-commit is run server-side (which I don't have access to),
> and as I can't commit correction to pre-commit, it keeps failing.

Andy means: remove the pre-commit hook from the server-side hooks
directory. You will need to get access to that directory to fix this
problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-14 08:27:44 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.