Florin <support@syncrosvnclient.com>


Found
r1464992

r1464992 | stsp | 2013-04-05 14:40:27 +0000 (Fri, 05 Apr 2013)

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().