Turns out that I needed to execute a complied program in the post-commit hook.
My compiled program is "autoupdate" which has this:
#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
int main(void) {
execl("/usr/bin/svn", "svn", "update", "/var/www/thecruisein.com_dev/", "--username", "anon", "--password", "anon",
(const char *) NULL);
return(EXIT_FAILURE);
}
My post-commit script looks like this:
#!/bin/sh
REPOS="$1"
REV="$2"
/var/svn/thecruisein_dev-autoupdate &>/dev/null
(&>/dev/null ---This redirects any output to prevent interference)
The file permissions of the compiled C program are such:
-rwsr-sr-x 1 apache apache 4813 Jan 28 11:40 thecruisein_dev-autoupdate
This solved the issue and allows commits to be made and automatically show up in the expected webroot folder.