Make the add_directory and add_file code in the update editor more similar and
thereby avoid a few unneeded db operations during a clean checkout.
* subversion/libsvn_wc/update_editor.c
(dir_baton): Rename variable.
(make_dir_baton): Update initialization.
(add_directory): Introduce a real scratch pool. Implement the same clean
checkout optimization as in add_file. Handle status normal for obstructions
as one block. Remove comment on 'output' that belongs in svn.
(close_directory): Handle kind of not present nodes. Remove from parent not
present if necessary.
(add_file): Handle status for obstructions as one block.
(close_file): Update caller.
|