subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbu...@apache.org
Subject svn commit: r1468980 - /subversion/trunk/subversion/libsvn_client/mergeinfo.c
Date Wed, 17 Apr 2013 15:50:28 GMT
Author: pburba
Date: Wed Apr 17 15:50:27 2013
New Revision: 1468980

URL: http://svn.apache.org/r1468980
Log:
* subversion/libsvn_client/mergeinfo.c
  (logs_for_mergeinfo_rangelist): No need for qsort, svn_rangelist_t are
   already sorted.


Modified:
    subversion/trunk/subversion/libsvn_client/mergeinfo.c

Modified: subversion/trunk/subversion/libsvn_client/mergeinfo.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/mergeinfo.c?rev=1468980&r1=1468979&r2=1468980&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/mergeinfo.c (original)
+++ subversion/trunk/subversion/libsvn_client/mergeinfo.c Wed Apr 17 15:50:27 2013
@@ -1507,10 +1507,6 @@ logs_for_mergeinfo_rangelist(const char 
   if (! rangelist->nelts)
     return SVN_NO_ERROR;
 
-  /* Sort the rangelist. */
-  qsort(rangelist->elts, rangelist->nelts,
-        rangelist->elt_size, svn_sort_compare_ranges);
-
   /* Build a single-member log target list using SOURCE_URL. */
   target = apr_array_make(scratch_pool, 1, sizeof(const char *));
   APR_ARRAY_PUSH(target, const char *) = source_url;



Mime
View raw message