Avoid passing a redundant local_abspath to internal functions just for use in error messages, by reconstructing it from the relpath when needed.
Avoid passing a redundant local_abspath to internal functions just for use
in error messages, by reconstructing it from the relpath when needed.

* subversion/libsvn_wc/wc_db.c
  (path_for_error_message): New function.
  (scan_upwards_for_repos): Use path_for_error_message().
  (struct record_baton): Store (wcroot, local_relpath) instead of (wc_id,
    local_relpath, local_abspath).
  (record_fileinfo): Use path_for_error_message().
  (svn_wc__db_global_record_fileinfo): Adjust to the new baton.
  (wclock_obtain_baton): Store (pdh, local_relpath) instead of (pdh,
    local_relpath, local_abspath).
  (wclock_obtain_cb): Use path_for_error_message().
  (svn_wc__db_wclock_obtain): Adjust to the new baton.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1023740 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion