subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1341076 - /subversion/trunk/subversion/libsvn_wc/status.c
Date Mon, 21 May 2012 15:36:23 GMT
Author: stsp
Date: Mon May 21 15:36:23 2012
New Revision: 1341076

URL: http://svn.apache.org/viewvc?rev=1341076&view=rev
Log:
* subversion/libsvn_wc/status.c
  (get_dir_status): Sort directory entries lexically, rather than applying
   path-sorting rules. Should be more efficient, and the result is the same
   since we're sorting single path components.

Suggested by: rhuijben

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

Modified: subversion/trunk/subversion/libsvn_wc/status.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/status.c?rev=1341076&r1=1341075&r2=1341076&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/status.c (original)
+++ subversion/trunk/subversion/libsvn_wc/status.c Mon May 21 15:36:23 2012
@@ -1393,7 +1393,7 @@ get_dir_status(const struct walk_status_
 
   /* Walk all the children of this directory. */
   sorted_children = svn_sort__hash(all_children,
-                                   svn_sort_compare_items_as_paths,
+                                   svn_sort_compare_items_lexically,
                                    subpool);
   for (i = 0; i < sorted_children->nelts; i++)
     {



Mime
View raw message