How to checkout using subversion and https

You can specify a username using

svn co --username your_name https://svn.server.com/repository/trunk

and the password should be prompted afterwards.

However, it's not necessary to specify the username, svn is going to prompt you anyway.

This and more information can be found either in the documentation of svn or using a simple command:

svn help checkout

svn co --username <username> <url>

prompts for the password. So this would be less helpful in automation script.

One may try this:

svn co --username '<username>' --password '<password>' <url>

Single quotes('') are required here. The command execution without quotes gives this error (at least in my case it happened):

svn: E170013: Unable to connect to a repository at URL '<url>'
svn: E215004: No more credentials or we tried too many times.
Authentication failed