I think the --non-interactive
option may be what you're looking for.
From the output of svn help update
:
Global options:
<skipped a few items here>
--non-interactive : do no interactive prompting
I'm not 100% sure, but it sounds like with this option, if a password authentication is required, svn will just fail with a non-zero exit code.