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

Re: I need advice about how to investigate cvs2svn.py problems

From: Mike Laster <mike_at_marketocracy.com>
Date: 2004-02-20 16:01:17 CET

On Feb 19, 2004, at 7:58 PM, kfogel@collab.net wrote:

> "Carter Sanders" <carter@instant802.com> writes:
>> I am trying to convert a rather large CVS repository (about 3 gig,
>> lots
>> of branches) to an SVN repository. The first few attempts, cvs2svn
>> choked on some tags with typos in them that included '/' characters. I
>> removed those tags from the repository, and now on my conversion
>> attempts, it runs for a few hours and then hangs. At least I think it
>> hangs - it stops writing to standard out mid line:
>> "adding or changing ...."
>> "add"
>> and just does nothing. The database is not growing, the process size
>> is
>> fixed. I tried doing this with dump only, and similar behavior is
>> observed (no output, dump file size stopped growing).
>> Does anybody have any advice of what I should do to try to narrow this
>> down? I attached to the process with strace, and an endless
>> loop-looking
>> behavior was observed. It seems to not always hang in the same place.
> I would so *love* to reproduce this. Shipping 3 gigs to us is
> probably overkill, though. Can you reproduce this on some subdir of
> your repository? (And, what does your free disk space look like when
> cvs2svn hangs? Are you running out of space on that partition?)
> Let's see if we can narrow this down to either something about the
> data, or at least to the minimal data size needed to stimulate the bug
> (if it is caused by size).

I ran into a problem similar to this when converting our repository.
It turns
out it was a corrupted RCS ,v file that was causing it to hang. CVS and
RCS themselves didn't have a problem with it, but cvs2svn.py choked.
The corruption was that there were several null characters appended to
end of the file. When I deleted them, the problem went away.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 20 16:01:18 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.