Not defined for TeamCity, but if you need to specify which username to use when checking the svn:externals repository:
Do not specify a username in the svn:externals property:
the_vendor_dir svn+ssh://hostname/path/to/repo
By default, statements will use the current username of the user. To use a different username:
~/.subversion/config: [tunnels] ssh = $SVN_SSH ssh -ljdoe
This will cause Subversion to use jdoe as the username for any svn+ssh tunnel that does not specify a username.
Instead of changing the svn+ssh tunnel at the Subversion level, you can also change it at the SSH level:
~/.ssh/config: Host svn.example.com User jdoe
Stefan's answer above ~/.subversion/servers did not work for me, and it seems that it should not work, since the username parameter is not documented in this file.
source share