Improve the commit process, particularly with respect to selecting the repository information for the new, committed node.
Improve the commit process, particularly with respect to selecting the
repository information for the new, committed node.

* subversion/libsvn_wc/wc_db.c:
  (commit_baton): add repos_id and repos_relpath
  (commit_node): compute the KIND from the tables, rather than the
    parameters. consume repos info from the baton, instead of the values
    in the table(s) (tho we assert equivalent if a BASE_NODE row is
    present). add a few assertions and comments.
  (determine_repos_info): find repository information in the (changed)
    node or in ancestry of an added node.
  (svn_wc__db_global_commit): fetch the committed node's repository info
    into the baton.


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

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