After Ubuntu upgrade from 11.04 to 12.04 all my SVN post-commit hooks doesn't work throwing errors:
post-commit hook failed (exit code 1) with output: sudo: no tty present and no askpass program specified
My post-commit file looks like
sudo svn update /var/www/site/html >> /usr/local/svn/repos/site/logs/exampleup.log
Any clue what can be wrong?