You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/01/29 13:40:13 UTC

svn commit: r1439863 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c

Author: stsp
Date: Tue Jan 29 12:40:12 2013
New Revision: 1439863

URL: http://svn.apache.org/viewvc?rev=1439863&view=rev
Log:
* subversion/libsvn_wc/wc_db_update_move.c
  (get_info): Sort the children list with svn_sort_compare_items_lexically,
   instead of svn_sort_compare_items_as_paths, since the children list contains
   basenames only and sorting lexically is slightly more efficient.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c

Modified: subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c?rev=1439863&r1=1439862&r2=1439863&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c Tue Jan 29 12:40:12 2013
@@ -1174,7 +1174,7 @@ get_info(apr_hash_t **props,
                                            scratch_pool, scratch_pool));
 
   sorted_children = svn_sort__hash(hash_children,
-                                   svn_sort_compare_items_as_paths,
+                                   svn_sort_compare_items_lexically,
                                    scratch_pool);
 
   *children = apr_array_make(result_pool, sorted_children->nelts,