[
https://issues.apache.org/jira/browse/SVN-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Foad reopened SVN-2354:
------------------------------
I made a bad call in closing this as a duplicate, eleven years ago. Issue #783
only dealt with the notifications for property setting and deleting, not with
streamy output from propget and proplist.
svn_client_proplist3 was made streamy in r863309.
svn_client_propget5 is still not streamy.
> Make svn_client_propset/get/list/del APIs use streamy notification.
> -------------------------------------------------------------------
>
> Key: SVN-2354
> URL: https://issues.apache.org/jira/browse/SVN-2354
> Project: Subversion
> Issue Type: Improvement
> Components: libsvn_client
> Affects Versions: 1.2.x
> Reporter: C. Michael Pilato
> Fix For: unscheduled
>
>
> {noformat:nopanel=true}
> The current implementations of libsvn_client's property functions currently
> offer only the following feedback mechanisms:
> - a single error code (which doesn't offer per-item feedback on recursive
> operations)
> - a massive hash of paths and properties (which is very un-streamy, memory
> wasteful, etc.)
> The property setting functions should learn to use the client notification
> function and baton to report per-item status of operations ("i did set that
> property on path FOO", "i ran into an error setting that property on path
> BAR",
> etc.). The property getting functions should grow custom callbacks for
> reporting property findings on a per-item basis, something like:
> propget: path -> (err, propval)
> proplist: path -> (err, { propname : propval, propname : propval ... })
> And then, the command-line client should learn to use the now-streamy APIs.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)