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

Need doc fix?

From: Jim Blandy <jimb_at_savonarola.red-bean.com>
Date: 2000-10-09 06:33:14 CEST

It looks like the description for this function and its prototype are
way out of sync. There's no explanation for TOK, and mysterious

I think it's pretty important to keep the docs up to date, even when
time is tight.

/* Do a depth-first crawl of the local changes in a working copy,
   beginning at ROOT_DIRECTORY (absolute path). Communicate all local
   changes (both textual and tree) to the supplied EDIT_FNS object
   (coupled with the supplied EDIT_BATON).

   (Presumably, the client library will someday grab EDIT_FNS and
   EDIT_BATON from libsvn_ra, and then pass it to this routine. This
   is how local changes in the working copy are ultimately translated
   into network requests.)

   A function and baton for completing this commit must be set in
   *CLOSE_COMMIT_FN and *CLOSE_COMMIT_BATON, respectively. These are
   not so much for the caller's sake as for close_edit() in the
   editor, and they should be set before close_edit() is called. See
   svn_ra_get_commit_editor() for an example of how they might be
svn_error_t *
svn_wc_crawl_local_mods (svn_string_t *root_directory,
                         svn_delta_edit_fns_t *edit_fns,
                         void *edit_baton,
                         svn_string_t *tok,
                         apr_pool_t *pool);
Received on Sat Oct 21 14:36:10 2006

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