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

Re: svn commit: r38362 - trunk/subversion/libsvn_wc

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Tue, 7 Jul 2009 08:55:50 -0500

On Jul 7, 2009, at 8:50 AM, Greg Stein wrote:

> On Tue, Jul 7, 2009 at 15:35, Hyrum K.
> Wright<hyrum_wright_at_mail.utexas.edu> wrote:
>> On Jul 7, 2009, at 4:35 AM, Greg Stein wrote:
>>> On Tue, Jul 7, 2009 at 04:45, Hyrum K. Wright<hyrum_at_hyrumwright.org>
>>> wrote:
>>>>
>>>> ...
>>>> +++ trunk/subversion/libsvn_wc/diff.c Mon Jul 6 19:45:13 2009
>>>> (r38362)
>>>> @@ -481,9 +481,10 @@ get_base_mimetype(const char **mimetype,
>>>> static svn_error_t *
>>>> get_working_mimetype(const char **mimetype,
>>>> apr_hash_t **workingprops,
>>>> - svn_wc_adm_access_t *adm_access,
>>>> - const char *path,
>>>> - apr_pool_t *pool)
>>>> + const char *local_abspath,
>>>> + svn_wc__db_t *db,
>>>> + apr_pool_t *result_pool,
>>>> + apr_pool_t *scratch_pool)
>>>> {
>>>
>>> I'll note that precedent seems to be <db, abspath> ordering. (or
>>> <wc_ctx, abspath>)
>>
>> I've actually just been replacing arguments, and not worrying so
>> much about
>> ordering. I figure once we're to the point where all the APIs are
>> using the
>> ctx/db local_abspath pair, we can go back and do a mass parameter
>> order
>> reshuffling.
>
> Ha! You know that won't happen :-P

I dunno. You're talking to the guy who cleaned up *your* half-done
SVN_TEST_PASS mess in the API tests... :P

> Not saying to go back and change that one "right now" (since it is a
> very small nit), but I'd request to keep the ordering in mind.

Noted.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2368853
Received on 2009-07-07 15:56:21 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.