You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alexey Kharchenko <ak...@artezio.ru> on 2003/11/06 13:46:46 UTC

cvs2svn

Hi!

I'm having a problem as I'm trying to convert cvs repository to svn with
the cvs2svn.py script:

cvs2svn -s /path/to/svnRepository /path/to/cvsRepository/

... takes a while, produses lots of output.

and: 

committing: Thu Dec  5 11:50:03 2002, over 0 seconds
    deleting 1.1 : trunk/.......
    new revision: 1865
committing: Thu Dec  5 11:50:04 2002, over 0 seconds
Traceback (most recent call last):
  File "/usr/bin/cvs2svn", line 2266, in ?
    main()
  File "/usr/bin/cvs2svn", line 2262, in main
    convert(ctx, start_pass=start_pass)
  File "/usr/bin/cvs2svn", line 2134, in convert
    _passes[i](ctx)
  File "/usr/bin/cvs2svn", line 2069, in pass4
    c.commit(dumper, ctx, sym_tracker)
  File "/usr/bin/cvs2svn", line 1833, in commit
    sym_tracker.fill_branch(dumper, ctx, br)
  File "/usr/bin/cvs2svn", line 1676, in fill_branch
    self.fill_name(dumper, ctx, branch, None, jit_new_rev)
  File "/usr/bin/cvs2svn", line 1634, in fill_name
    is_tag, jit_new_rev)
  File "/usr/bin/cvs2svn", line 1554, in copy_descend
    next_src, next_dst, is_tag, jit_new_rev)
  File "/usr/bin/cvs2svn", line 1554, in copy_descend
    next_src, next_dst, is_tag, jit_new_rev)
  File "/usr/bin/cvs2svn", line 1554, in copy_descend
    next_src, next_dst, is_tag, jit_new_rev)
  File "/usr/bin/cvs2svn", line 1554, in copy_descend
    next_src, next_dst, is_tag, jit_new_rev)
  File "/usr/bin/cvs2svn", line 1528, in copy_descend
    dumper.copy_path(src_path, parent_rev, copy_dst, val)
  File "/usr/bin/cvs2svn", line 976, in copy_path
    entries)
  File "/usr/bin/cvs2svn", line 682, in change_path
    approved_entries = new_val.get(self.approved_entries) or { }
AttributeError: 'NoneType' object has no attribute 'get'

Could someone tell me what is wrong here?

Thanks!
Alexey.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: cvs2svn

Posted by Max Bowsher <ma...@ukf.net>.
Alexey Kharchenko wrote:
> Hi!
> 
> I'm having a problem as I'm trying to convert cvs repository to svn
> with the cvs2svn.py script:
>   File "/usr/bin/cvs2svn", line 682, in change_path
>     approved_entries = new_val.get(self.approved_entries) or { }
> AttributeError: 'NoneType' object has no attribute 'get'
> 
> Could someone tell me what is wrong here?

It's a bug. Issue 1440.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org