Hello,

In this patch, I revert the send_delta change in r1303856. The 
previous discussion is here: 
https://lists.apache.org/thread/h1d250w4t9286bdrkpp1gx73h588751q.


Besides, I found that calculating the checksum also led to the slow execution 
of svnlook. If compare_root == NULL, it will send no checksum to 
apply_textdelta, but it will calculate the checksum for 
close_file, https://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/replay.c?view=markup#l756. So,
 I skip the checksum calculation.  




[[[
Set send_delta in svnlook to FALSE;
Skip checksum calculation if compare_root == NULL.


*svnlook/svnlook.c
(generate_delta_tree): Set send_delta to FALSE while driving the node editor.


*libsvn_repos/replay.c
(path_driver_cb_func): Skip 
checksum calculation  if compare_root == NULL.
]]]





Zonggan

Attachment: svnlook-send-delta.patch.txt
Description: Binary data

Reply via email to