Checkout Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 877282 is being indexed.

Switch to using an internal scratch_pool for all of the callbacks. This

will help ensure/optimize pool usage within the editor drive.

* subversion/include/svn_editor.h:

(svn_editor_add_directory, svn_editor_add_directory_streamy,

svn_editor_add_file, svn_editor_add_symlink, svn_editor_add_absent,

svn_editor_set_props, svn_editor_set_text, svn_editor_set_target,

svn_editor_delete, svn_editor_copy, svn_editor_move,

svn_editor_complete, svn_editor_abort): remove SCRATCH_POOL param

* subversion/libsvn_delta/editor.c:

(svn_editor_t): add SCRATCH_POOL member

(svn_editor_create): construct a scratch pool as a subpool of the result

pool (ie. a pool that lives at least as long as this editor)

(svn_editor_add_directory, svn_editor_add_directory_streamy,

svn_editor_add_file, svn_editor_add_symlink, svn_editor_add_absent,

svn_editor_set_props, svn_editor_set_text, svn_editor_set_target,

svn_editor_delete, svn_editor_copy, svn_editor_move,

svn_editor_complete, svn_editor_abort): remove SCRATCH_POOL param.

clear the pool on entry, then pass to the callback.

  1. … 1 more file in changeset.
Dump out some basic skeleton structure for a new editor interface.

* subversion/include/svn_editor.h: new interface

* subversion/libsvn_delta/editor.c: new implementation

  1. … 1 more file in changeset.