"David Glasser" <glasser@davidglasser.net> writes:
>> We should pick one way and enforce it. I think the way to do that is:
>>
>> if (requested_depth != svn_depth_unknown)
>> {
>> svn_wc__ambient_depth_filter_editor(&editor, &edit_baton,
>> editor, edit_baton,
>> anchor, target, adm_access,
>> requested_depth, pool);
>> }
>>
>> ...and just ensure that it is written in such a way that that is safe!
>> We'd change the calling code so that it wouldn't have the extra
>> variables to hold the wrapper editor, and change the callee to not
>> take a requested_depth parameter at all.
>
> OK, and we might as well leave out the requested_depth parameter while
> we're at it?
Yup, exactly.
Note that you'll have to play some const games to get the in-out
behavior with 'editor' and '&editor', but it should be doable.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 1 20:07:23 2007