The README.txt file in the xsvn directory is incorrect on three accounts.
1) It instructs the reader to add commands to invoke the pre-commit hook to the start-commit file. Obviously a copy/paste error.
2) The README file instructs the user to add the following to pre-commit:
#!/bin/sh
php [path_to_svn]/hooks/xsvn/xsvn-pre-commit.php [path_to_svn]/hooks/xsvn/xsvn-config.phpHowever, the xsvn pre-commit script requires the repository and transaction number:
Transmitting file data .svn: Commit failed (details follow):
svn: Commit blocked by pre-commit hook (exit code 3) with output:
Usage: php /srv/svn/support/hooks/xsvn-pre-commit.php <config file> REPO_PATH TX_NAME
3) The README file instructs the user to add the following to post-commit:
#!/bin/sh
php [path_to_svn]/hooks/xsvn/xsvn-post-commit.php [path_to_svn]/hooks/xsvn/xsvn-config.phpThe xsvn pre-commit script also requires repository and revision number.
Oh I found these in the docs here:
http://github.com/chrono325/versioncontrol_svn/blob/de9e94da1b5920740428...
Comments
Comment #1
jpetso commentedObviously fixed by dhax already in commit 6f14f1339893f711c4afef7eeaee03f3226f574a.