You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2008/08/03 12:38:25 UTC

ra_serf/ra_neon/ra_svn comparison (was: Re: [PATCH] fix progress callback for ra_svn)

I was about to commit the latest patch, but then I thought to see what 
ra_serf does.  (A little late, I know.)

ra_serf, like ra_svn (and unlike ra_neon), currently reports the totals, 
not the deltas (see svn_ra_serf__progress and serf_context_progress_delta).

Any ideas how to make all three ra layers consistent?  Given that two
different ra layers implemented the "wrong" (= different from neon's)
(but, IMHO, consistent with the docstring) semantics, I don't think we
can just ignore that and change svn_ra_progress_notify_func_t's doc
string now.

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: ra_serf/ra_neon/ra_svn comparison

Posted by Mark Phippard <ma...@gmail.com>.
On Sun, Aug 3, 2008 at 8:52 AM, Stefan Küng <to...@gmail.com> wrote:
> Daniel Shahaf wrote:
>>
>> I was about to commit the latest patch, but then I thought to see what
>> ra_serf does.  (A little late, I know.)
>>
>> ra_serf, like ra_svn (and unlike ra_neon), currently reports the totals,
>> not the deltas (see svn_ra_serf__progress and serf_context_progress_delta).
>>
>> Any ideas how to make all three ra layers consistent?  Given that two
>> different ra layers implemented the "wrong" (= different from neon's)
>> (but, IMHO, consistent with the docstring) semantics, I don't think we
>> can just ignore that and change svn_ra_progress_notify_func_t's doc
>> string now.
>
> I don't mind changing it, as long as it is consistend over all layers.
> But for ra_neon, this would require a change in the neon library. And I'm
> not sure, but I think that progress notifications for ra_serf were also not
> available in 1.4 yet, while neon had this from 1.3 on.

I think that they should all be made consistent with Neon and if the
docstring needs to be fixed, then fix that too.


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: ra_serf/ra_neon/ra_svn comparison

Posted by Stefan Küng <to...@gmail.com>.
Daniel Shahaf wrote:
> I was about to commit the latest patch, but then I thought to see what 
> ra_serf does.  (A little late, I know.)
> 
> ra_serf, like ra_svn (and unlike ra_neon), currently reports the totals, 
> not the deltas (see svn_ra_serf__progress and serf_context_progress_delta).
> 
> Any ideas how to make all three ra layers consistent?  Given that two
> different ra layers implemented the "wrong" (= different from neon's)
> (but, IMHO, consistent with the docstring) semantics, I don't think we
> can just ignore that and change svn_ra_progress_notify_func_t's doc
> string now.

I don't mind changing it, as long as it is consistend over all layers.
But for ra_neon, this would require a change in the neon library. And 
I'm not sure, but I think that progress notifications for ra_serf were 
also not available in 1.4 yet, while neon had this from 1.3 on.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net