Re: svn commit: r1196191 - in /subversion/trunk/subversion/libsvn_wc: wc-queries.sql wc_db.c
> Author: stsp
> Date: Tue Nov 1 18:26:54 2011
> New Revision: 1196191
> URL: http://svn.apache.org/viewvc?rev=1196191&view=rev
> During 'svn rm', sort the delete-list in C, rather than in SQL.
> This speeds up 'svn rm dir/*'.
> Also fix notification in case of cancellation. We were omitting notification
> for some nodes in the delete-list if the user cancelled early. This is wrong
> because all nodes in the delete-list are already deleted at this point.
> * subversion/libsvn_wc/wc-queries.sql
> (STMT_SELECT_DELETE_LIST): Don't ORDER BY.
> * subversion/libsvn_wc/wc_db.c
> (do_delete_notify): Sort the delete-list in C, if it is not already sorted.
> Notify for all paths in the delete-list before allowing cancellation.
Is sorting in C better than putting UNIQUE on the local_relpath column?
Received on 2011-11-01 19:37:05 CET
This is an archived mail posted to the Subversion Dev