SVN Large Imports To Repository

SVN Large Imports To Repository

Posted by: dwilson
Posted on: 2007-05-18 20:19:00

I am trying to import a 950 MB project into a new repository that I created. It goes good for a while and then it hits some large files and fails with an error saying that it was aborted by the host software. I have read that this is possibly a Subversion issue and I wonder if anyone knows a work-around. I tried importing it in chunks but then it tries putting everything in root instead of maintaining the directory structure.

Does anyone know how I can import my large SVN project without being disconnected by the server?

It sounds like they are having the same problems over here: http://groups.google.com/group/google-code-hosting/browse_thread/thread/fde53613ef485b98

But, I cannot find a solution. One of the main reasons for me coming to DreamHost.com is that they offer Subversion and that is what we need.

Derik Wilson

Re: SVN Large Imports To Repository

Posted by: dwilson
Posted on: 2007-05-18 21:41:00

Nevermind. I found a solution. This is what I am doing:

(On my PC): I coppied the entire export of my current SVN repo to a new directory. Then I went into the command prompt and into the root of that SVN export. I then "DEL /S /Q *.*" to delete all of the files and keep the directory structure. After that, I right click on that folder and select the SVN import option (using tortoiseSVN) and select the repo at my new dreamhost.com web location.

Once the import was complete, I have a repo of the skeleton directory structure. I then delete everything in that export folder that I had set up to contain the skeleton dir structure because I am now going to use it as my check-out folder. I then rightclick and checkout connecting to my new SVN repo at dreamhost.com (the one installed under my domain not theirs. I use their name to keep mine hidden). Now I have a SVN download of the skeleton dir structure. I then add the entire export back into that new SVN check-out folder. Now I can commit each directory (or individual files) to get most of them up there and then I will have to figure out how to commit those that are bigger than Subversion can handle (if that happens again).

Derik Wilson
Edited by dwilson on 05/18/07 09:42 PM (server time).

Re: SVN Large Imports To Repository

Posted by: ettinger
Posted on: 2008-05-31 13:36:00

I think dreamhost has some issues with svn ssh:// urls, which is what I'm trying to use to export my rails app from my home devbox to the DH server.

I even upgraded to a PS account, after they said that would fix the problem...but it didn't.

Their SVN admin is supposed to look into it, but I haven't heard anything in a few days.

the command would simply die "Killed signal 15"

when I ran even a list:

svn list svn ssh://me@home/x/svn/projects/test_rails_app
foo
bar
...
Killed signal 15.


This happens everytime.
Edited by ettinger on 05/31/08 01:37 PM (server time).

Tags: svnsubversionrepositorydreamhostdirectory structureabortedchunks