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

Re: [patch] Use hash for optional args with long argument list in Ruby bindings

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-11-17 16:50:03 CET

HI

On Nov 17, 2007 6:09 AM, Kouhei Sutou <kou@cozmixng.org> wrote:
> Hi,
>
> In <ae6cb1100711162223v12831844v8da6168fbd8ea354@mail.gmail.com>
> "Re: [patch] Use hash for optional args with long argument list in Ruby bindings" on Fri, 16 Nov 2007 22:23:53 -0800,
> "Joe Swatosh" <joe.swatosh@gmail.com> wrote:
>
> > BTW as I was changing switch_editor2 to be similar, I remembered that I
> > hadn't asked yet: What is the reason for using the Hash for all arguments,
> > instead of just the optional arguments?
>
> This is for consistency. Users who uses only required
> arguments should use XXX API instead of XXX2 API.
>

Okay, I committed in r27900. What about the :target_revision
argument? Couldn't
it reasonably be defaulted to zero?

Thanks for bearing with me,

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 17 16:50: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.