/[Apache-SVN]
ViewVC logotype

Revision 1464992


Jump to revision: Previous Next
Author: stsp
Date: Fri Apr 5 14:40:27 2013 UTC (11 years, 8 months ago)
Changed paths: 1
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().


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_client/delete.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26