Connecting to Subversion


#1

Hello!

I’ve just created a subverion repository from the DreamHost Panel. How do I connect to it from my home computer so I can Import my project?

Thanks in advance!

Martin Lundberg
Student, Sweden


#2

Hello!

Thanks for the answer but no it doesn’t help. I’ve already read the wiki and I’ve tried what it says but it doesn’t work.

When I try: “svn list svn+ssh://svn.mydomain.com/repository”

I get:

svn: No repository found in ‘svn+ssh://svn.mydomain.com/repository’

and I am giving it the right url. Don’t know why it doesn’t work.

If I try to go directly to the URL through a web browser it gives me a 404 not found.

Martin Lundberg
Student, Sweden


#3

Hello Ardco!

I know my repository is created because I was able to send a project to my account through FTP and then use svn locally through ssh. I also have Trac installed and the repository with it’s files show up in there.

However if I need to ftp my files over, log in with ssh and do everything locally it’s not very efficient :slight_smile: I don’t know which way is the right way to do it but I’m waiting for an answer from the support, hope they can spread some light on it.

The wiki needs to be updated yes, anyone who knows how to do this the right way can update it, doesn’t have to be DreamHost.

If you find a way to do it, please tell me =)

Good luck yourself,

-Martin

Martin Lundberg
Student, Sweden


#4

Hello again!

Subversion is however marked as “beta” in the DreamHost panel. Anyway, that doesn’t matter now, we just have to get someone to tell us how to fix this now! =)

-Martin

Martin Lundberg
Student, Sweden


#5

Hello

Have you tested: svn import /a/folder http://svn.yourdomain.com/repository --message=“Initial Import” ?

Yeasterday I got some help and we figured out that whats causing my problems is DNS problems. The DNS server seems to be a little slow. He was in the U.S. and everything worked for him, I’m in Sweden and nothing works :stuck_out_tongue:

I also got an answer from the support today and they said I should wait untill 23th Mars, and contact them again if it still doesn’t work.

-Martin

Martin Lundberg
Student, Sweden


#6

Once you get your DNS cleared up, you still have to connect correctly. Don’t use svn+ssh:// – this will not work because while the repository is stored in your home directory (in ~/svn), it is owned by the dhapache user and served through an httpd2 process. Your own ssh login has no access. You need to use http:// URLs, even on the command line; svn will then use the WebDAV protocol to properly address your repository, and the repository will use the usernames and passwords you set up in the web panel for authentication/authorization.


#7

Hello,

I’ve had already learned this but thanks for telling me about it =) I got some help on the Trac IRC channel yeasterday.

-Martin

Martin Lundberg
Student, Sweden