subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1439863 - /subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
Date Tue, 29 Jan 2013 12:40:13 GMT
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,



Mime
View raw message