Add an option to the 'revert' APIs to choose whether to delete or keep a schedule-add file or directory.
Previously reverting a copied (add-with-history) file or directory would delete it, while reverting a plain add would keep it on disk.
* subversion/include/svn_client.h, subversion/libsvn_client/deprecated.c, subversion/libsvn_client/revert.c (svn_client_revert4): New, revved with a new option 'added_keep_local'. (svn_client_revert3): Deprecated. (revert_with_write_lock_baton, revert): Pass the new option along.
* subversion/include/svn_wc.h, subversion/libsvn_wc/deprecated.c, subversion/libsvn_wc/revert.c (svn_wc_revert6): New, revved with a new option 'added_keep_local'. (svn_wc_revert5): Deprecated. (revert_restore): (revert_wc_data): Allow deleting an on-disk item even in cases (such as a plain add) where its new metadata status is 'not present'. (revert, revert_changelist, revert_partial): Pass the new option along.