You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "antti.kokkonen" <ze...@gmail.com> on 2008/01/11 12:33:39 UTC
Erroneous pre-commit hook prevents correction commit of pre-commit
hook
Hi,
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)?
--
View this message in context: http://www.nabble.com/Erroneous-pre-commit-hook-prevents-correction-commit-of-pre-commit-hook-tp14753910p14753910.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Erroneous pre-commit hook prevents correction commit of pre-commit hook
Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Erroneous pre-commit hook prevents correction commit of
pre-commit hook
Posted by "antti.kokkonen" <ze...@gmail.com>.
Hi,
> 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 Levy wrote:
>
> On Jan 11, 2008 7:33 AM, antti.kokkonen <ze...@gmail.com> wrote:
>>
>> Hi,
>>
>> 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.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
--
View this message in context: http://www.nabble.com/Erroneous-pre-commit-hook-prevents-correction-commit-of-pre-commit-hook-tp14753910p14796369.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Erroneous pre-commit hook prevents correction commit of pre-commit hook
Posted by Andy Levy <an...@gmail.com>.
On Jan 11, 2008 7:33 AM, antti.kokkonen <ze...@gmail.com> wrote:
>
> Hi,
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org