Search code examples
svnpost-commitsvn-hooks

svn post-commit hook failed (exit code 6) with output:


I am trying to update a remote server's repository using ssh from a shell script via svn post-commit hook. What I did was,

  • Wrote a shell script to ssh to the server and update the repository
  • Added a line to execute the above script on post-commit

Everything works fine when I run the script manually. But when I make a commit I am getting the below error:

Sending        test.py
Transmitting file data .
Committed revision 47.
Warning: post-commit hook failed (exit code 6) with output:

I tried googling out but can't find any thing related to error code 6.Any help is appreciated.


Solution

  • The actual solution was, I removed the post-commit.tmpl file and somehow, it works now.