/[Apache-SVN]
ViewVC logotype

Revision 1547995


Jump to revision: Previous Next
Author: breser
Date: Thu Dec 5 02:20:41 2013 UTC (11 years ago)
Changed paths: 3
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



Changed paths

Path Details
Directorysubversion/trunk/subversion/svn/cl-log.h added
Directorysubversion/trunk/subversion/svn/log-cmd.c modified , text changed
Directorysubversion/trunk/subversion/svn/mergeinfo-cmd.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26