Log Message: |
Make mergeinfo and log commands share the same log receiver implementation.
* subversion/svn/log-cmd.c
(): Include cl-log.h
(log_receiver_baton): Move to cl-log.h and rename to
svn_cl__log_receiver_baton
(log_entry_receiver, log_entry_receiver_xml): Change from static function and
rename to svn_cl__log_entry_receiver and svn_cl__log_entry_receiver_xml
respectively
(log_entry_receiver, log_entry_receiver_xml, svn_cl__log): Adjust type of
log_receiver_baton
(svn_cl__log): Adjust log_entry_receiver*() function calls to use new names
* subversion/svn/cl-log.h
(svn_cl__log_receiver_baton, svn_cl__log_entry_receiver*):
New type/functions in new header file.
* subversion/svn/mergeinfo-cmd.c
(): Include cl-log.h
(SEP_STRING): Remove
(print_log_details): Rework into a filter for changed path info that
uses svn_cl__log_entry_receiver() to actually print
(mergeinfo_log): Setup a svn_cl__log_receiver_baton and pass it
|