Hello,
I need svn revision number from PHP script. I have used the following commands with exec(). But it does not return any thing.
$value = exec("usr/bin/svn --username myusername--password mypassword info /home/mysite/mysite_www/mysite |grep Revision: |cut -c11-", $output, $status);
or
$value = exec("svn info |grep Revision: |cut -c11-", $output, $status);
I have also tried using share script but no result. Please guide me how to get a SVN revision number using PHP and the command.