Re: svn commit: r24322 - trunk/subversion/bindings/swig/ruby/svn
From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-04-11 10:16:09 CEST
Hi Joe,
2007/4/11, Joe Swatosh <joe.swatosh@gmail.com>:
> It took me a while to track this one down. Without this patch I'm
The problem isn't ocuured on my environment because default string
> I just put this typemap in with the others I found. Is it the best
Uhm. The typemap affects all 'changelist_name' but there are some
What about this?
Thanks,
-- kou > Index: subversion/bindings/swig/svn_client.i > =================================================================== > --- subversion/bindings/swig/svn_client.i (revision 24525) > +++ subversion/bindings/swig/svn_client.i (working copy) > @@ -116,6 +116,16 @@ > #endif > > #ifdef SWIGRUBY > + > +/* Allow nil to be passed as changelist_name argument */ > +%typemap(in) const char *changelist_name { > + if (NIL_P($input)) { > + $1 = NULL; > + } else { > + $1 = StringValuePtr($input); > + } > +} > + > %typemap(argout) apr_array_header_t **props { > %append_output(svn_swig_rb_apr_array_to_array_proplist_item(*$1)); > } > > > On 4/1/07, kou@tigris.org <kou@tigris.org> wrote: > > Author: kou > > Date: Sun Apr 1 21:56:04 2007 > > New Revision: 24322 > > > > Log: > > Support svn_client_commit4(). > > > > * subversion/bindings/swig/ruby/svn/client.rb > > (Svn::Client::Context#commit): Use Svn::Client.commit4 instead > > of Svn::Client.commit3. > > > > > > Modified: > > trunk/subversion/bindings/swig/ruby/svn/client.rb > > > > Modified: trunk/subversion/bindings/swig/ruby/svn/client.rb > > URL: http://svn.collab.net/viewvc/svn/trunk/subversion/bindings/swig/ruby/svn/client.rb?pathrev=24322&r1=24321&r2=24322 > > >
---------------------------------------------------------------------
|
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.