Author: stefan2
Date: Thu Feb 27 11:10:24 2014
New Revision: 1572514
URL: http://svn.apache.org/r1572514
Log:
* subversion/libsvn_fs_fs/pack.c
(sort_reps): Remove redundant commentary. No functional change.
Modified:
subversion/trunk/subversion/libsvn_fs_fs/pack.c
Modified: subversion/trunk/subversion/libsvn_fs_fs/pack.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/pack.c?rev=1572514&r1=1572513&r2=1572514&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/pack.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/pack.c Thu Feb 27 11:10:24 2014
@@ -992,16 +992,9 @@ sort_reps(pack_context_t *context)
context->references->elt_size,
(int (*)(const void *, const void *))compare_references);
- /* Re-order noderevs like this:
- * (1) Directories are already in front; sort directories section and
- * files section separately according to (2)-(4).
- * (2) Most likely to be referenced by future pack files, in path order.
- * (3) highest revision rep per path + dependency chain
- * (4) Remaining reps in path, rev order
- *
- * We simply pick & chose from the existing path, rev order.
+ /* Directories are already in front; sort directories section and files
+ * section separately but use the same heuristics (see sub-function).
*/
-
temp_pool = svn_pool_create(context->info_pool);
count = context->path_order->nelts;
temp = apr_pcalloc(temp_pool, count * sizeof(*temp));