I tried using this svn diff -r BEGIN_REVISION:END_REVISION
in terminal, I get results , But I need a solution in php. I tried this code
$svn_blame_array=exec("svn diff -r 125:126 --username abc --password abc753 ",$ret);
print_r ( $ret );
in php. Below error is occurred ,
"You can avoid future appearances of this warning by setting the value of the 'store-plaintext-passwords' option to either 'yes' or 'no' in /var/www/.subversion/servers.
Store password unencrypted (yes/no)? svn: Can't read stdin: End of file found"
Can anyone help me ?
This error appears, because the svn
command is run as the user who runs the webserver process (often called www-data
). By default subversion will try to cache authentication data into the ~/.subversion
directory of a user (which is /var/www
for the webserver user on your machine).
If you don't want that, you can try to add the --no-auth-cache
option to your command.
You may also want to add --non-interactive
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With