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

cvs2svn crash

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2003-08-21 22:56:01 CEST

Well, it seems things are simply not going my way this week... :-)

This time I tried convering a CVS repository with cvs2svn.py (which
seems much more competent than the README would let you believe), but
it crashes during pass 4. The end of the output looks like this:

---8<---
    adding or changing 1.1 : 7.5/src/mapping.c
    adding or changing 1.1 : 7.5/src/mapping.h
    adding or changing 1.1 : 7.5/src/module.c
    adding or changing 1.1 : 7.5/src/module.h
    adding or changing 1.1 : 7.5/src/modules/.cvsignore
    adding or changing 1.1 : 7.5/src/modules/_math/.cvsignore
    adding or changing 1.1 : 7.5/src/modules/_math/configure.in
    adding or changing 1.1 : 7.5/src/modules/_math/math.c
    adding or changing 1.1 : 7.5/src/modules/configure.in
    adding or changing 1.1 : 7.5/src/modules/files/.cvsignore
    adding or changing 1.1 : 7.5/src/modules/files/configure.in
    adding or changing 1.1 : 7.5/src/modules/files/datagram.c
    adding or changing 1.1 : 7.5/src/modules/files/efuns.c
    adding or changing 1.1 : 7.5/src/modules/files/file.c
    adding or changing 1.1 : 7.5/src/modules/files/file.h
    adding or changing 1.1 : 7.5/src/modules/files/socket.c
    adding or changing 1.1 : 7.5/src/modules/spider/Makefile.in
    adding or changing 1.1 : 7.5/src/modules/spider/configure.in
    adding or changing 1.1 : 7.5/src/modules/spider/defs.h
    adding or changing 1.1 : 7.5/src/modules/spider/discdate.c
    adding or changing 1.1 : 7.5/src/modules/spider/spider.c
    adding or changing 1.1 : 7.5/src/modules/spider/stardate.c
    adding or changing 1.1 : 7.5/src/modules/sprintf/.cvsignore
    adding or changing 1.1 : 7.5/src/modules/sprintf/configure.in
    adding or changing 1.1 : 7.5/src/modules/sprintf/sprintf.c
    adding or changing 1.1 : 7.5/src/multiset.c
Traceback (most recent call last):
  File "./cvs2svn.py", line 2261, in ?
    main()
  File "./cvs2svn.py", line 2257, in main
    convert(ctx, start_pass=start_pass)
  File "./cvs2svn.py", line 2136, in convert
    _passes[i](ctx)
  File "./cvs2svn.py", line 2071, in pass4
    c.commit(dumper, ctx, sym_tracker)
  File "./cvs2svn.py", line 1820, in commit
    sym_tracker.enroot_branches(svn_path, svn_rev, branches)
  File "./cvs2svn.py", line 1374, in enroot_branches
    self.enroot_names(svn_path, svn_rev, branches, self.br_opening_revs_key)
  File "./cvs2svn.py", line 1354, in enroot_names
    self.db[parent_key] = marshal.dumps(parent)
dbm.error: cannot add item to database

---8<---

I tried looking at the code, but I couldn't understand any of it as I
don't speak Python. :-/ From the output it looks like it ran into a
problem the first time it had to go up more than one directory level,
but that might be just coincidence.

I couldn't find an issue for this in the 'zilla, but I thought I'd ask
before filing one.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 21 22:59:06 2003

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

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