This is the patch in which we add a way to call arbitrary code to catch
the formatted status messages that the trace-commit, and trace-update
editors are constructing.
* include/svn_client.h: (svn_client_trace_ui_fns): Add new ui vtable
structure. (svn_client_get_trace_update_editor): Use new structure
and accompanying baton. (svn_client_get_trace_commit_editor): Use
new structure and accompanying baton.
* libsvn_client/trace-commit.c: Include svn_client.h.
(trace_commit_edit_baton): Add new ui vtable structure, and baton.
(delete_entry, add_directory, close_directory, close_file,
close_edit): Call print_message.
(svn_client_get_trace_commit_editor): Add new structure, and baton.
* libsvn_client/trace-update.c: Include svn_client.h
(trace_update_edit_baton): Add new ui vtable structure, and baton.
(delete_entry, add_directory, close_directory, close_file):
Call print_message. (svn_client_get_trace_commit_editor): Add new
structure, and baton.
* clients/cmdline/cl.h: (svn_cl__print_message) Add prototype.
* clients/cmdline/util.c: (svn_cl__print_message) Add.
* clients/cmdline/checkout-cmd.c: (svn_cl__checkout): Use new ui vtable.
* clients/cmdline/copy-cmd.c: (svn_cl__copy): Use new ui vtable.
* clients/cmdline/commit-cmd.c: (svn_cl__commit): Use new ui vtable.
* clients/cmdline/import-cmd.c: (svn_cl__import): Use new ui vtable.
* clients/cmdline/update-cmd.c: (svn_cl__update): Use new ui vtable.
Only one more part left, the brand new cancellation editor.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:53 2006