OP_FILE_INSTALL: use the timestamp and size from the working file writer,
instead performing a stat on the already installed file.

This avoids the difference in how we use the working file writer on various
calling sites.  Also, the new approach uses the optimizations provided by the
install stream to obtain the info, and may retrieve it by the open file handle.

* subversion/libsvn_wc/wc_db.h
  (struct svn_wc__db_fileinfo_t): New.  We'll use this structure to pass
   only timestamp and size values, instead of the full svn_io_dirent2_t when
   recording the file info.

* subversion/libsvn_wc/workqueue.c
  (work_item_baton_t): Now maps the paths to svn_wc__db_fileinfo_t objects.
  (get_and_record_fileinfo): Convert this utility function into...
  (wq_record_fileinfo): ...this function that only records the file info
   and does not return an error.
  (run_file_install): Obtain and record the timestamp and size values from
   the working file writer, if necessary.
  (run_record_fileinfo): Update the calling site of get_and_record_fileinfo().
   Call svn_io_stat_dirent2() with the same parameters as before and call the
   new wq_record_fileinfo() utility if necessary.   

* subversion/libsvn_wc/wc_db.c
  (wq_record): The `record_map` now maps to the svn_wc__db_fileinfo_t values.
   Update the call to db_record_fileinfo().


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1886923 13f79535-47bb-0310-9956-ffa450edef68
3 files changed