Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have just installed subversion and the repository is hosted on Assembla.

Normally when I use windows I just use tortoisesvn and it prompts me for a username and password.

When I try to checkout from the terminal I don't know how to manually specify the username and password and it just freezes when I try to checkout without them (can't ctrl-C the hell outa there).

Here is what I am trying:

svn co https://subversion.assembla.com/svn/comcal/trunk

When I was trying to copy the command line just then I got this:

svn: Server sent unexpected return value (502 Proxy Error) in response to OPTIONS request for 'https://subversion.assembla.com/svn/comcal/trunk'

share|improve this question

1 Answer 1

up vote 12 down vote accepted

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
share|improve this answer
    
Thanks, looks like it's not just my lack of skills, Assembla repositories are screwed at the moment twitter.com/#!/assembla –  xiaohouzi79 Apr 21 '11 at 10:32
    
+1, however I'd like to point out that in my experience SVN will use username of the logged-in user if a username is not provided. –  Steve Apr 8 at 16:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.