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

Re: More cvs2svn broken in 0.17.0?

From: <esm_at_logic.net>
Date: 2003-01-23 18:07:54 CET

On Wed, Jan 22, 2003 at 05:27:16PM -0800, Greg Stein wrote:
 This has nothing to do with SWIG. The bindings *are* up to date, and those
 bindings are asking for more arguments.

(warning, half-baked idea follows)

Although, this does give me an interesting idea; a lot of functions have
optional arguments (optional in the sense that the argument is NULL if
there's nothing to be passed). Is there any way that this could be mapped
to python's optional argument syntax (ie. foo(arg1, arg2=None)) in a
semi-automated manner? (I can't think of one off the top of my head that
would work right for all cases, but there are far SWIGgier folks than me
on this list. ;-)

Thus, the current syntax used by cvs2svn would actually be legal. ;-)

(Maybe this would be better done in fs.py, to compliment the svn_fs_
stripping done for everything exported by _fs? And mimic'd where needed
in other modules? If this approach was taken, it's probably an effort
best left until svn is a little closer to 1.0...)

-- 
Edward S. Marshall esm@logic.net
http://esm.logic.net/
Felix qui potuit rerum cognoscere causas.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:09:28 2006

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.