Chris Stäbler
2012-06-17 13:41:30 UTC
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 cant commit something (even from the
subversionserver itself)
What is wrong in my configuration?
Thanks for help
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 cant commit something (even from the
subversionserver itself)
What is wrong in my configuration?
Thanks for help