On the log-message-templates branch, undo the introduction of
a new log message callback, and use call the new API function
svn_client_get_log_message_templates_for_commit_items() instead.

This reduces the changeset size vs trunk and allows API consumers to
start using this feature with minimal changes (add one function call).

However, this change requires changes to the log message baton
used by the 'svn' client.

Suggested by: rhuijben

* subversion/include/svn_client.h
  (svn_client_get_commit_log4_t): Remove.
  (svn_client_ctx_t): Remove log_msg_func4 and log_msg_baton4.
   Un-deprecate log_msg_func3.

* subversion/libsvn_client/client.h
  (SVN_CLIENT__HAS_LOG_MSG_FUNC): Undo log_msg_func4 changes.

* subversion/libsvn_client/commit_util.c
  (svn_client_get_log_message_templates,
   svn_client__get_log_msg): Undo log_msg_func4 changes.

* subversion/svn/cl.h
  (svn_cl__make_log_msg_baton): This baton must now store a pointer to
   the whole client context, instead of just ctx->config.
  (svn_cl__get_log_message): Undo log_msg_func4 changes.

* subversion/svn/commit-cmd.c, subversion/svn/copy-cmd.c,
  subversion/svn/delete-cmd.c, subversion/svn/import-cmd.c,
  subversion/svn/mkdir-cmd.c, subversion/svn/move-cmd.c,
  subversion/svn/propedit-cmd.c
  (svn_cl__commit, svn_cl__copy, svn_cl__delete, svn_cl__import,
   svn_cl__mkdir, svn_cl__move, svn_cl__propedit): Undo log_msg_func4 changes.
   Update calls to svn_cl__make_log_msg_baton() to pass the client context.

* subversion/svn/svn.c
  (sub_main): Undo log_msg_func4 changes.

* subversion/svn/util.c
  (log_msg_baton): Replace the pointer to the client config with a pointer
   to the client context, so svn_cl__get_log_message() can use the context.
   Undo log_msg_func4 changes.
  (svn_cl__make_log_msg_baton): Accept and use a client context instead of
   just the client config. Refer to the config via ctx->config.
  (svn_cl__get_log_message): Undo log_msg_func4 changes and call
   svn_client_get_log_message_templates_for_commit_items() to obtain
   log message templates. Refer to the client config via ctx->config.


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/log-message-templates@1623786 13f79535-47bb-0310-9956-ffa450edef68