Malcolm Rowe wrote:
> On Tue, Jan 16, 2007 at 08:08:30PM +0100, Stefan Küng wrote:
>> Since assigning items to a changelist one-by-one requires a lot of disk
>> access (opening the entries file, add the changelist entry, save the
>> file and close it again) if it's done for many files at once, I'd like
>> to request to change that API to take multiple paths instead of just one.
> +1. That sounds like an incredibly sensible idea.
I've changed the API to take an array instead of a single path. Would
you look over this patch and make sure that it does what you want it to?
Note that we don't yet make the same interface change to
svn_wc_set_changelist(), mainly due to the lack of notification support.
Once notification support gets added, we can easily push the array
interface down to libsvn_wc.
Make svn_client_set_changelist() accept an array of paths.
(svn_client_set_changelist): Make the path argument an array, and
(svn_client_set_changelist): Set the callback status for each target
in the paths array.
(svn_cl__changelist): Remove loop, just call the client library using
the targets array.
Received on Tue Jan 16 22:15:12 2007