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

Re: r3205 cvs2svn broken?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-23 14:30:07 CEST

On Fri, Sep 20, 2002 at 11:45:22PM -0700, Will Andrews wrote:
> On Fri, Sep 20, 2002 at 11:42:03PM -0700, Will Andrews wrote:
> > Hi,
> >
> > With r3205 subversion, httpd-2.0 from CVS a day ago, swig 1.3.15,
> > and python 2.2.1 on FreeBSD 4.6-STABLE, I am trying to cvs2svn
> > this repository:
> >
> > http://csociety.org/~will/kde-freebsd.tar.bz2 (5MB)
> >
> > Unfortunately, it seems there is a problem with svn_fs_commit_txn():
> >
> > http://csociety.org/~will/cvs2sgn-kde-freebsd.log (20kB)
>
> Augh, that's supposed to be
>
> http://csociety.org/~will/cvs2svn-kde-freebsd.log

Looks like SWIG is constructing an improper binding for you. Of the three
arguments to svn_fs_commit_txn(), two are return values, and you should only
have one input value.

It is a bit late right now... my bindings code is a bit borken right now cuz
of some mussed up patches. I'll see about trying to repro, but it could be a
while before I get a chance to get to it...

I might suggest posting a snippet of code from the SWIG output. The file
should be something like: .../bindings/swig/python/build/svn_fs.c. Grab the
first chunk of the _wrap_svn_fs_commit_txn() code down to after its arg
parsing, and just as it calls the function. If you post that here, then we
should be able to figure out what it up (without needing to fully repro
here).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 23 14:30:05 2002

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.