Convert the ra_dav commit editor over to the new editor interface.
Convert the ra_dav commit editor over to the new editor interface.

* libsvn_ra_dav/commit.c

  (resource_t {}): change the 'local_path' member from a stringbuf to
    a 'const char *'. remove the ->data from all users.

  (add_child): use svn_path_join() for constructing URLs and paths

  (record_prop_change): change types of NAME and VALUE args over to
    'const char *' and 'const svn_string_t *' respectively. copy the
    name into the right pool.

  (commit_open_root): add DIR_POOL param. the local_path in the new
    resource structure can just be "" since we can use a constant
    now. construct the baton in the passed-in DIR_POOL.

  (commit_delete_entry): change NAME param to PATH (and type). add a
    POOL param. do all the work in the provided POOL rather than the
    session pool. use svn_path_join() to construct the URL. copy the
    PATH argument for the local_path in the 'deleted' array.

  (commit_add_dir): change NAME param to PATH (and type). change the
    COPYFROM_PATH to a 'const char *'. add a DIR_POOL argument.
    construct the new baton in the provided DIR_POOL. run the
    get_baseline_info() in the new pool and construct the resulting
    using svn_path_join().

  (commit_open_dir): change NAME param to PATH (and type). add a
    DIR_POOL argument and use it for the new baton.

  (commit_change_dir_prop): change NAME/VALUE params' type over to
    'const char *' and 'const svn_string_t *' (respectively).

  (commit_add_file): change NAME param to a PATH (and type). change
    the COPYFROM_PATH to a 'const char *'. add a FILE_POOL and use it
    for the resulting file baton. use the FILE_POOL for running the
    get_baseline_info() call, and construct the resulting copy source
    URL using svn_path_join().

  (commit_open_file): change NAME param to PATH (and type). add a
    FILE_POOL argument and use it for the new baton.

  (commit_change_file_prop): change NAME/VALUE params' type over to
    'const char *' and 'const svn_string_t *' (respectively).

  (svn_ra_dav__get_commit_editor): build a new-style editor and then
    wrap it.


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

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