Following up on r1136429 and r1136530, improve commit error reporting in a few more cases by handling more out of date errors with more details on which local node is out of date. Provide the full url in the error message if there is no local path, as a session relative path is not always enough.
Following up on r1136429 and r1136530, improve commit error reporting in a
few more cases by handling more out of date errors with more details
on which local node is out of date. Provide the full url in the error message
if there is no local path, as a session relative path is not always enough.

E.g. prop_tests.py 7 "commit with conflicting dirprops" now reports
svn: E155011: Commit failed (details follow):
svn: E155011: Directory 'T:\<snip>\working_copies\prop_tests-7' is out of date
svn: E160028: Directory '/' is out of date
While it would only show the first and last line before this patch.

* subversion/libsvn_client/commit_util.c
  (fixup_out_of_date_error): Handle transaction out of date and the DAV
    equivalent. Add base_url argument to notify full urls instead of an invalid
    local path when no local path is available.
  (path_driver_cb_baton): Rename to ...
  (item_commit_baton): ... this as it is commit specific and not path driver
    specific. Add base_url to improve error reporting.
  (do_item_commit): Rename baton. Assert that we have an abspath instead of
    asking apr for an abspath. Update caller.
  (svn_client__do_commit): Update caller.


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

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