[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 3523 - trunk/notes trunk/subversion/include trunk/subversion/libsvn_wc trunk/subversion/libsvn_ra_local trunk/subversion/libsvn_client trunk/subversion/svnlook trunk/subversion/tests/libsvn_repos trunk/subversion/libsvn_repos trunk/subversion/libsvn_ra_dav

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-10-28 14:51:04 CET

ghudson@tigris.org writes:

> Author: ghudson
> Date: 2002-10-27 23:41:19 -0600 (Sun, 27 Oct 2002)
> New Revision: 3523
> Log:
> Push new editor interface through RA interface and some svn_repos
> interfaces. Consequentially, convert WC diff editor and test dir
> delta editor to new interface. No drivers have been converted, but a
> lot of wrapping moved around. (Overall, less wrapping is necessary
> now.)

Looks like mod_dav_svn needs some attention.

>
> Modified: trunk/subversion/libsvn_repos/reporter.c
> ==============================================================================
> --- trunk/subversion/libsvn_repos/reporter.c (original)
> +++ trunk/subversion/libsvn_repos/reporter.c Sun Oct 27 23:41:29 2002
> @@ -64,7 +64,7 @@
> svn_boolean_t recurse;
>
> /* the editor to drive */
> - const svn_delta_edit_fns_t *update_editor;
> + const svn_delta_editor_t *update_editor;
> void *update_edit_baton;
>
> /* This hash contains any `linked paths', and what they were linked
> @@ -395,7 +395,7 @@
> const char *tgt_path,
> svn_boolean_t text_deltas,
> svn_boolean_t recurse,
> - const svn_delta_edit_fns_t *editor,
> + const svn_delta_editor_t *editor,

../svn/subversion/mod_dav_svn/update.c:674: warning: passing arg 10 of `svn_repos_begin_report' from incompatible pointer type

> void *edit_baton,
> apr_pool_t *pool)
> {
>
> Modified: trunk/subversion/libsvn_repos/delta.c
> ==============================================================================
> --- trunk/subversion/libsvn_repos/delta.c (original)
> +++ trunk/subversion/libsvn_repos/delta.c Sun Oct 27 23:41:30 2002
> @@ -157,8 +157,8 @@
> const char *src_entry,
> svn_fs_root_t *tgt_root,
> const char *tgt_path,
> - const svn_delta_edit_fns_t *editor,
> - void *edit_baton,
> + const svn_delta_editor_t *new_editor,
> + void *new_baton,

../svn/subversion/mod_dav_svn/update.c:806: warning: passing arg 6 of `svn_repos_dir_delta' from incompatible pointer type

> svn_boolean_t text_deltas,
> svn_boolean_t recurse,
> svn_boolean_t entry_props,
> @@ -172,9 +172,14 @@
> const svn_fs_id_t *src_id, *tgt_id;
> svn_error_t *err;
> int distance;
> + const svn_delta_edit_fns_t *editor;
> + void *edit_baton;
>
> /* ### need to change svn_path_is_empty() */
> svn_stringbuf_t *tempbuf;
> +
> + /* Until we are converted to drive a new-format editor... */
> + svn_delta_compat_wrap (&editor, &edit_baton, new_editor, new_baton, pool);
>
> /* SRC_PARENT_DIR must be valid. */
> if (! src_parent_dir)

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 14:51:47 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.