You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/01/16 22:08:09 UTC
svn commit: r1434400 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: rhuijben
Date: Wed Jan 16 21:08:08 2013
New Revision: 1434400
URL: http://svn.apache.org/viewvc?rev=1434400&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
(svn_wc__db_op_delete): Enable security check, that once broke some tests.
The higher layers are now properly fixed.
Modified:
subversion/trunk/subversion/libsvn_wc/wc_db.c
Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1434400&r1=1434399&r2=1434400&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Wed Jan 16 21:08:08 2013
@@ -7303,8 +7303,6 @@ svn_wc__db_op_delete(svn_wc__db_t *db,
scratch_pool));
VERIFY_USABLE_WCROOT(moved_to_wcroot);
-/* ### This breaks some tests. Needs more work here or on a higher
- level
if (strcmp(wcroot->abspath, moved_to_wcroot->abspath) != 0)
return svn_error_createf(SVN_ERR_UNSUPPORTED_FEATURE, NULL,
_("Cannot move '%s' to '%s' because they "
@@ -7312,7 +7310,7 @@ svn_wc__db_op_delete(svn_wc__db_t *db,
svn_dirent_local_style(local_abspath,
scratch_pool),
svn_dirent_local_style(moved_to_abspath,
- scratch_pool)); */
+ scratch_pool));
}
else
moved_to_relpath = NULL;