Why does SVN Commit fail with blocked by pre-commit?
Event Timeline
Still looking... nothing useful found. Anyone know what information might be helpful to debug?
The commit hooks are in hooks/ directory in the working copy /phabdatavol/softwarerepos/TESTPROJ/.
Exit code 255 is a little uncommon; It may mean "exit code out of range", which is not a common situation.
You can try executing the hooks as user vcs-user (From https://secure.phabricator.com/book/phabricator/article/diffusion_hosting/), and maybe get more detailed errors.
There is a default pre-commit hook. I don't any custom ones there. If I run it as vcs-user I get a error at this line:
throw new Exception(pht('usage: commit-hook <callsign> <repo> <txn>'));
I'm hesitant to call this exception the same as the issue I see during actual commit because there is no obvious link.
silverskysoft, did you ever find a solution to this? I seem to be having the same issue.
I have created a task for it here: https://secure.phabricator.com/T9926
@foven we have not found a solution. We had run out of time to debug SVN. Now we only host GIT repos on Phabricator and SVN is elsewhere.