KB Article #178047
SVN integration : "getProjectList(): ERROR!"
Problem
-- getting such error while running the pre-lock test script
Wed Apr 20 20:12:35 UTC 2016: getConfiguration(): OK!
Wed Apr 20 20:12:35 UTC 2016: test getProjectList...
unecpected exception-Wed Apr 20 20:12:39 UTC 2016: getProjectList(): ERROR!
- the correct SVN package is used
Resolution
- you skipped one of the steps in the hook configuration
- according to the Subversion configuration.pdf which is placed in the same archive as the hooks, follow the steps below :
After the last successful test, the final step will setup the repository in its productive state. The log
file output.pre-lock.test.log and the pre-lock test should be deleted. Now the three hook scripts from
the distributed archive should be copied into the hooks folder (remember to copy them from the
appropriate operating system folder inside the distributed archive):
• pre-commit.tmpl.unix
• pre-lock.tmpl.unix
• post-commit.tmpl.unix
The scripts must be renamed and set to executable. The renaming is as follows:
• pre-commit.tmpl.unix to pre-commit
• pre-lock.tmpl.unix to pre-lock
• post-commit.tmpl.unix to post-commit