I do the same thing in one of my build scripts, although I also use this option --non-interactive(no interactive hints), and it seems to work very well.
So your command will look something like this:
svn export --username bavhbavh --password blahblah --non-interactive svn:
source
share