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

svn_delta_path_driver deprecation

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Thu, 25 Oct 2012 19:02:04 +0200


We've managed to widely eliminate the use of deprecated
functions except for a few cases. One of them is

The problem is that svn_delta_path_driver2 requires an
ordered path array as input that none but one of the callers
can actually provide. We would need to sort the path list
for all other callers via some copy-n-paste code.

It seems that we can't easily check a given path array
for being properly ordered inside svn_delta_path_driver2,
so I'd like to add a flag parameter that tells the function
whether it needs to sort the array before using it. Alternatively,
we could add a some __compare_fn_t as a parameter.
If NULL, assume ordered input, otherwise sort using
the order defined by the compare function.

Any other ideas?

-- Stefan^2.

Certified & Supported Apache Subversion Downloads:
Received on 2012-10-25 19:02:38 CEST

This is an archived mail posted to the Subversion Dev mailing list.