Following up on r1159132, reintroduce a name variable in the file and directory batons of the ra_serf commit handler to avoid several calls to obtain this value. Fixing some calculations on the way.
Following up on r1159132, reintroduce a name variable in the file and
directory batons of the ra_serf commit handler to avoid several calls
to obtain this value. Fixing some calculations on the way.

* subversion/libsvn_ra_serf/commit.c
  (dir_context_t, file_context_t): Add name.
  (checkout_dir,
   setup_copy_dir_headers): Use name.
  (open_root): Set name.
  (delete_entry): Don't pass a pool to the basename function.
  (add_directory,
   open_directory): Set and use name where appropriate.
     Fix calculating an unused url on added directories for HTTPv1.
  (add_file, open_file): Set name.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion