You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Michael Sperber [Mr. Preprocessor]" <sp...@informatik.uni-tuebingen.de> on 2002/10/26 17:21:33 UTC

cvs2svn (r3200) problem

For me, cvs2svn from 0.14.3 aka r3200 drops the ball with this:

Traceback (most recent call last):
  File "./cvs2svn.py", line 702, in ?
    main()
  File "./cvs2svn.py", line 699, in main
    util.run_app(convert, ctx, start_pass=start_pass)
  File "/afs/informatik.uni-tuebingen.de/i386_fbsd46/subversion-0.14.3/lib/python2.2/site-packages/svn/util.py", line 38, in run_app
    return apply(func, (pool,) + args, kw)
  File "./cvs2svn.py", line 632, in convert
    _passes[i](ctx)
  File "./cvs2svn.py", line 589, in pass4
    c.commit(t_fs, ctx)
  File "./cvs2svn.py", line 443, in commit
    conflicts, new_rev = fs.commit_txn(txn)
TypeError: svn_fs_commit_txn() takes exactly 2 arguments (1 given)

The type error seems real enough, but I'm not deep enough into
Subversion to figure out the Right Way to fix this.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

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

Re: cvs2svn (r3200) problem

Posted by "Michael Sperber [Mr. Preprocessor]" <sp...@informatik.uni-tuebingen.de>.
>>>>> "Will" == Will Andrews <wi...@csociety.org> writes:

Will> On Sat, Oct 26, 2002 at 07:21:33PM +0200, Michael Sperber [Mr.  Preprocessor] wrote:
>> 
>> For me, cvs2svn from 0.14.3 aka r3200 drops the ball with this:
>> 
>> Traceback (most recent call last):
>>   File "./cvs2svn.py", line 702, in ?
>>     main()
>>   File "./cvs2svn.py", line 699, in main
>>     util.run_app(convert, ctx, start_pass=start_pass)
>>   File "/afs/informatik.uni-tuebingen.de/i386_fbsd46/subversion-0.14.3/lib/python2.2/site-packages/svn/util.py", line 38, in run_app
>>     return apply(func, (pool,) + args, kw)
>>   File "./cvs2svn.py", line 632, in convert
>>     _passes[i](ctx)
>>   File "./cvs2svn.py", line 589, in pass4
>>     c.commit(t_fs, ctx)
>>   File "./cvs2svn.py", line 443, in commit
>>     conflicts, new_rev = fs.commit_txn(txn)
>> TypeError: svn_fs_commit_txn() takes exactly 2 arguments (1 given)
>> 
>> The type error seems real enough, but I'm not deep enough into
>> Subversion to figure out the Right Way to fix this.

Will> Yes, this was fixed with a later version of subversion.  I don't
Will> remember the exact revision, but I think it was around 3250 or
Will> 3275.  C-Mike fixed it when I nagged him so I know it's fixed. :)
Will> That, and I regularly convert a (small) repo with cvs2svn...

Ah, OK.  I pulled over svn_fs.i from the trunk, and that seems to
precisely fix the problem.  Many thanks for the hint!

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

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

Re: cvs2svn (r3200) problem

Posted by Will Andrews <wi...@csociety.org>.
On Sat, Oct 26, 2002 at 07:21:33PM +0200, Michael Sperber [Mr.  Preprocessor] wrote:
> 
> For me, cvs2svn from 0.14.3 aka r3200 drops the ball with this:
> 
> Traceback (most recent call last):
>   File "./cvs2svn.py", line 702, in ?
>     main()
>   File "./cvs2svn.py", line 699, in main
>     util.run_app(convert, ctx, start_pass=start_pass)
>   File "/afs/informatik.uni-tuebingen.de/i386_fbsd46/subversion-0.14.3/lib/python2.2/site-packages/svn/util.py", line 38, in run_app
>     return apply(func, (pool,) + args, kw)
>   File "./cvs2svn.py", line 632, in convert
>     _passes[i](ctx)
>   File "./cvs2svn.py", line 589, in pass4
>     c.commit(t_fs, ctx)
>   File "./cvs2svn.py", line 443, in commit
>     conflicts, new_rev = fs.commit_txn(txn)
> TypeError: svn_fs_commit_txn() takes exactly 2 arguments (1 given)
> 
> The type error seems real enough, but I'm not deep enough into
> Subversion to figure out the Right Way to fix this.

Yes, this was fixed with a later version of subversion.  I don't
remember the exact revision, but I think it was around 3250 or
3275.  C-Mike fixed it when I nagged him so I know it's fixed. :)
That, and I regularly convert a (small) repo with cvs2svn...

Regards,
-- 
wca

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