You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by jeya prakash <sv...@gmail.com> on 2008/04/21 18:33:55 UTC

Reg: Subversion hooks failed.

Hi,


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.

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.

Please help me.

thanks,

with regards,
Jeyaprakash S

Re: Reg: Subversion hooks failed.

Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Reg: Subversion hooks failed.

Posted by Ryan Schmidt <su...@ryandesign.com>.
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?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org