Hi I want to write a php script which updates svn working directory
I tried with below code , but it does not work.I guess because the USER for php script is "apache" but for svn update it needs to be "homeuser"
putenv("USERNAME=homeuser");
putenv("HOME=/home/homeuser");
exec("svn update /home/homeuser/path/to/working/dir", $info); //svn update with full path
print_r($info);
how to get around ?