Simplify the internal scan_addition() to return repository id instead of URL and UUID, for both of its repository outputs.  Move that look-up up to the semi-public wrapper svn_wc__db_scan_addition().  Simplify the other callers, as they only wanted the repos id anyway.
Simplify the internal scan_addition() to return repository id instead of URL
and UUID, for both of its repository outputs.  Move that look-up up to the
semi-public wrapper svn_wc__db_scan_addition().  Simplify the other callers,
as they only wanted the repos id anyway.

* subversion/libsvn_wc/wc_db.c
  (INVALID_REPOS_ID): New macro.
  (scan_addition): Replace URL/UUID output parameters with repos_id, twice.
  (svn_wc__db_scan_addition): Convert to URL and UUID here.
  (get_info_for_copy): Simplify: eliminate the reverse look-ups of repos id.


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

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