Hoa The Nguyen
Hoa The Nguyen

Reputation: 103

SVN on command prompt, need to pass username argument with spaces

I am writing a batch script that will automate setting up a project. One thing I need to do is to checkout from SVN....easy right?

Well, the issue is that username has spaces in it! (Don't ask me why) When I try svn co https//url/path --username user name, the command asks for password from user and not "user name"

Hope somebody can help me with this.

Upvotes: 0

Views: 714

Answers (1)

Amnon
Amnon

Reputation: 2320

In case you have spaces in your argument enclose them in quotes:

For example:

--username "user name"

Upvotes: 1

Related Questions