On the 'http-protocol-v2' branch: Tweak some of the client and server
commit logic toward HTTP v2 readiness.  This actually makes some of
the commit tests pass when using HTTP v2!

* subversion/mod_dav_svn/deadprops.c
  (get_value): Add some braces and a unified comment for readability,
    and support for fetching props from a transaction resource.
  (save_value): Add some braces, and unify the comments.
  (db_open): Allow PROPFIND and PROPPATCH on transaction and
    transaction root URLs to open the properties database.

* subversion/mod_dav_svn/version.c
  (merge): Handle transaction resources as MERGE sources.

* subversion/libsvn_ra_serf/commit.c
  (add_directory): Don't do CHECKOUT-y things in HTTP v2, and add HTTP
    v2 URL calculation.
  (add_file): Don't do CHECKOUT-y things in HTTP v2.
  (close_edit): Send the MERGE using the transaction resource URL as
    the source in HTTP v2.
  (abort_edit): Tweak early return for HTTP-v2-ness.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/http-protocol-v2@876009 13f79535-47bb-0310-9956-ffa450edef68
3 files changed