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

commit with exit code 255

From: Chris Stäbler <chresse1605_at_googlemail.com>
Date: Sun, 17 Jun 2012 15:41:30 +0200

Hello together,

 

a few days ago I set up a subversionserver. Now I wanted to check every
commit for some conventions. I tried it with an pre-commit hook but always
get the following error when I try to commit something:

 

      Some of selected resources were not committed.

      svn: E165001: Commit failed (details follow):

 

      svn: E165001: Commit failed (details follow):

      svn: E165001: Commit blocked by pre-commit hook (exit code 255) with
no output.

      svn: E175002: MERGE of '/svn/firstrepo/repotest/trunk': 409 Conflict
(http://...)

 

Here is the content of my pre-commit script:

 

      #!/bin/sh

      REPOS=”$1”

      TXN=”$2”

      echo “something for the output” 1>&2

      #cancel all commits for tests…

      exit 1

 

 

Every user has executerights for the hook.

I use svnserver version 1.6.8.

Even with disabled firewall I can’t commit something (even from the
subversionserver itself)

 

What is wrong in my “configuration”?

Thanks for help
Received on 2012-06-17 15:42:10 CEST

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.