Factor out the HTTPv1 CHECKOUT processing.
Factor out the HTTPv1 CHECKOUT processing.

* subversion/libsvn_ra_serf/commit.c:
  (checkout_context_t): adjust commentary. this structure is now
    associated *only* for the request processing.
  (commit_context_t): do not hold a checkout structure, but just a new
    BASELINE_URL member for the resulting working resource.
  (dir_context_t, file_context_t): drop the checkout context and
    retain just the URL of the working resource
  (checkout_node): new helper function to run a synchronous CHECKOUT
    request, and return the resulting working resource's URL.
  (checkout_dir): take a SCRATCH_POOL. rejigger in terms of the
    resulting WORKING_URL member and loss of the CHECKOUT member. use
    the new checkout_node() helper.
  (checkout_file): take a SCRATCH_POOL. rewrite in terms of the new
    WORKING_URL member and loss of the CHECKOUT member. use the new
    checkout_node() helper function.
  (setup_copy_dir_headers): switch to the new WORKING_URL member
  (open_root): pass a scratch pool to checkout_dir() and adjust for
    the enw BASELINE_URL member
  (delete_entry, add_directory, change_dir_prop, add_file): pass a
    scratch pool to checkout_dir, and adjust for the new WORKING_URL
    member.
  (close_directory): adjust for the new WORKING_URL member
  (close_file): pass a scratch pool to checkout_file, and adjust for
    the new WORKING_URL mebmer


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

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion