After Ubuntu upgrade from 11.04 to 12.04 all my SVN post-commit hooks doesn't work throwing errors:

Code:
post-commit hook failed (exit code 1) with output:
sudo: no tty present and no askpass program specified
Any clue what can be wrong?