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

Re: Reg: Subversion hooks failed.

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 22 Apr 2008 01:26:24 -0500

On Apr 22, 2008, at 12:45 AM, jeya prakash wrote:

> On 4/22/08, Ryan Schmidt wrote:
>
>> On Apr 21, 2008, at 1:33 PM, jeya prakash wrote:
>>
>>> I am facing the following issues when i am using hooks.
>>>
>>> <cmadmin-on-netmuprd1>/usr/local/bin/svn commit -m "fdf"
>>>
>>> Sending js/EULA.txt
>>>
>>> Transmitting file data .svn: Commit failed (details follow):
>>>
>>> svn: MERGE request failed on '/testrepv2/trunk/websync/
>>> phase2_test/js'
>>>
>>> svn: 'pre-commit' hook failed with error output:
>>>
>>>
>>> Can any one please tell me, the above error is a svn hooks
>>> default error or is there any thing i would have to do.
>>
>> So the hook failed with a nonzero exit code but did not produce
>> any error output. We'd need to see your pre-commit hook to be able
>> to debug this further.
>>
>> There is no pre-commit (or any other) hook by default so you must
>> have installed one.
>>
>>> And one more clarification,
>>>
>>> whenever i am committing with out -m "text" i am getting that /
>>> usr/bin/gedit svn*.dmp file is not found.
>>
>> So Subversion is maybe crashing when trying to launch your editor?
>> What is your EDITOR (or SVN_EDITOR) environment variable set to?
>>>
>
> Hi Ryan,
>
> Thnks for your response.
>
> I am getting the hooks error output but before that its displaying
> the below given error message.
>
> Transmitting file data .svn: Commit failed (details follow):
>
> svn: MERGE request failed on '/testrepv2/trunk/websync/phase2_test/js'
>
> will it be the default message when commit fails.

There are many possible error messages when a commit fails, depending
on why it failed. There is no default message when a commit fails,
because there's no default reason why a commit would fail. It should
succeed, unless something is wrong. We don't know yet what's wrong.
Since the next error message shown mentions the pre-commit hook,
that's something I know what to do with, so that's what I'm having
you investigate. If you don't think the pre-commit hook is the
problem, you could verify this by removing the pre-commit hook and
seeing if you still have the problem.

When you reply, please use the Reply All feature in your email
program so that your message goes to the list too, and not just to me.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-22 08:26:52 CEST

This is an archived mail posted to the Subversion Users mailing list.