For some existing WC DB functions that take a DB and abspath, create local versions that take a PDH and relpath instead.  Adjust some callers to use them.  This avoids some conversion overhead and allows for a cleaner implementation.
For some existing WC DB functions that take a DB and abspath, create local
versions that take a PDH and relpath instead.  Adjust some callers to use
them.  This avoids some conversion overhead and allows for a cleaner
implementation.

* subversion/libsvn_wc/wc_db.c
  (read_info): New function, extracted from
    svn_wc__db_read_info(), which now calls it.
  (read_all_tree_conflicts): New function, extracted from
    svn_wc__db_op_read_all_tree_conflicts(), which now calls it.
  (read_tree_conflict): New function, extracted from
    svn_wc__db_op_read_tree_conflict(), which now calls it.
  (cross_db_copy, svn_wc__db_read_children_info, svn_wc__db_global_relocate,
   svn_wc__db_read_conflicts): Use the new functions.
  (get_info_for_copy): Use read_info(). Take a local_relpath parameter and
    adjust recursive calls. Presently this is as well as the abspath.
  (svn_wc__db_op_copy): Pass the relpath to get_info_for_copy().

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