[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn import hangs in fs type repository

From: v.kalra.w <vkalra_at_agere.com>
Date: 2005-09-28 21:00:50 CEST

On Tue, 27 Sep 2005, Mark Phippard wrote:

%>>
%>>Depending on how your APR (on the server) was compiled it may not be able
%>>to handle files that are > 2GB. If you commit more than 2 GB at one time,
%>>you will have a revision file in the fsfs repository that APR cannot
%>>handle due to its size. I am not saying that is the problem, but that is
%>>somewhere to start.
%>>
Just so I understand this, does it mean that any one individual
file from the N I'm importing cannot be more than 2GB, or does it
mean that the total size of all N files that I'm importing cannot
be more than 2GB.

%>>So my recommendation would be to go back to the idea of breaking the
%>>import into chunks.
%>>
I'm not sure if this is the problem -- for one, the import did seem to
go through *once*, though we ended up importing some of the subversion's
.svn directories in there as well. Also, I forgot to mention that we did
try to check in the files after just creating the repo instead of
importing them in, but with the same hang -- this was done over http,
not using file:// over NFS, and I don't know just what version of APR
was subversion compiled with.

%>>A lot of "seasoned" users try to avoid using svn import. An easy trick is
%>>to perform a checkout of your empty repository into a local folder. This
%>>then creates an empty working copy. You can then start creating your
%>>folder/file structure that you want and use svn add and svn commit to get
%>>it to the repository. This technique might make it easier for you to do
%>>this in chunks.
%>>
OK, we're going to give this one more try -- we'll create a new repository
with just the tags, branches, and trunk directories in there, check out
trunk, svn add directories, and check them in. Just to eliminate Apache
out of the picture, we'll do this using the file:// URL and see if that
works any better.

Thanks

Vivek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 28 21:02:52 2005

This is an archived mail posted to the Subversion Users mailing list.