Log Message: |
Don't allow externals to be deleted with 'svn rm' under any circumstances.
File externals could be deleted with the --force or --keep-local options.
Found by: Florin <support@syncrosvnclient.com>
* subversion/libsvn_client/delete.c
(check_external): New helper function which raises an error if the path
about to be deleted is an external. Split out of ...
(can_delete_node): ... this function, which isn't called in case the
--force or --kee-local options are used.
(svn_client__wc_delete, svn_client__wc_delete_many): Unconditionally call
the check_external() helper function before calling can_delete_node().
|