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

Re: svn commit: r1028472 - in /subversion/trunk/subversion: include/svn_client.h libsvn_client/deprecated.c libsvn_client/externals.c libsvn_client/relocate.c svn/main.c svn/relocate-cmd.c svn/switch-cmd.c tests/cmdline/switch_tests.py

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Thu, 28 Oct 2010 21:57:57 -0500

On Thu, Oct 28, 2010 at 8:27 PM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> On 10/28/2010 09:02 PM, Hyrum K. Wright wrote:
>> On Thu, Oct 28, 2010 at 5:25 PM, Philip Martin
>> <philip.martin_at_wandisco.com> wrote:
>>> I don't know whether we should pass TRUE or FALSE:
>
> [...]
>
>> When in doubt: ask the user!  I've pushed this parameter up to the
>> JavaHL API level in r1028568.
>>
>> But I also find it useful to just look at the C backward compat
>> wrapper, and follow the example therein.
>
> Uh-oh.  Did I pass FALSE in svn_client_relocate()?  Nope ... I passed TRUE
> (which is the correct thing).  Which backward compat wrapper were you
> referring to?

I was referring to svn_client_relocate(), but not the above patch. My
general rule when duplicating backward compat wrappers in higher-level
APIs is just to follow the example of the lower-level compat wrappers.
 It was this rule that I was suggesting.

-Hyrum
Received on 2010-10-29 04:58:31 CEST

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.