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

Re: svn commit: r26855 - trunk/subversion/bindings/swig/ruby/svn

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-09-30 18:18:07 CEST

kou

On 9/30/07, kou@tigris.org <kou@tigris.org> wrote:
> Author: kou
> Date: Sun Sep 30 06:31:08 2007
> New Revision: 26855
>
> Log:
> Improve argument handling.
>
> * subversion/bindings/swig/ruby/svn/client.rb
> (Svn::Client::Context#propdel): Require one or more arguments.
>
>
> 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=26855&r1=26854&r2=26855
> ==============================================================================
> --- trunk/subversion/bindings/swig/ruby/svn/client.rb (original)
> +++ trunk/subversion/bindings/swig/ruby/svn/client.rb Sun Sep 30 06:31:08 2007
> @@ -193,8 +193,7 @@
> alias pset propset
> alias ps propset
>
> - def propdel(*args)
> - name = args.shift
> + def propdel(name, *args)
> propset(name, nil, *args)
> end
> alias prop_del propdel
>

Good idea. Wish I'd'a thought of it.

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 30 18:18:19 2007

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.