Abstract a whole bunch of code duplicated between the "file" and "directory" versions of the mod_dav_svn replay editor into helper functions, drop an unnecessary custom editor function implementation, and perform other various code cleanups.
Abstract a whole bunch of code duplicated between the "file" and
"directory" versions of the mod_dav_svn replay editor into helper
functions, drop an unnecessary custom editor function implementation,
and perform other various code cleanups.

* subversion/mod_dav_svn/reports/replay.c
  (change_file_or_dir_prop): New, abstracted from change_file_prop()
    and change_dir_prop().
  (change_dir_prop, change_file_prop): Now just wrap change_file_or_dir_prop().
  (add_file_or_directory): New, abstracted from add_file() and add_directory().
  (add_file, add_directory): Now just wrap add_file_or_directory().
  (open_file_or_directory): New, abstracted from open_file() and 
    open_directory().
  (open_file, open_directory): Now just wrap open_file_or_directory().
  (apply_textdelta): Lose unnecessary intermediate variable.
  (set_target_revision, open_root, close_file, close_directory,
   delete_entry): Lose unnecessary SVN_ERR() usages.
  (close_edit): Remove (the default implementation is just fine, thanks).
  (make_editor): No longer override the default close_edit vtable item.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion