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

Re: cvs2svn tests *still* fail on Win2K

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2003-07-16 18:48:47 CEST

> E:/svn-trunk/tools/cvs2svn/cvs2svn.py said:
>
> Traceback (most recent call last):
> File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2231, in ?
> main()
> File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2227, in main
> convert(ctx, start_pass=start_pass)
> File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2106, in
> convert
> _passes[i](ctx)
> File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 2049, in pass4
> c.commit(dumper, ctx, sym_tracker)
> File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 1794, in commit
> svn_path = make_path(ctx, cvs_path, br)
> File "E:\svn-trunk\tools\cvs2svn\cvs2svn.py", line 322, in
> make_path
> return ctx.trunk_base + '/' + path
> TypeError: cannot concatenate 'str' and 'int' objects
>
> FAIL: run-tests.py 5: convert a branch file rooted in a 'dead'
> revision

This means path is somehow an int, which is incredibly odd.
We know it's not ctx.trunk_base that is an int, because oddly, python
would give you a different error message:
>>> 5 + '/' + 'a'
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
TypeError: unsupported operand type(s) for +: 'int' and 'str'
>>> '/' + 'a' + 5
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
TypeError: cannot concatenate 'str' and 'int' objects
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 16 18:49:40 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.