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 2012/07/05 23:56:33 UTC

svn commit: r1357961 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

Author: rhuijben
Date: Thu Jul  5 21:56:33 2012
New Revision: 1357961

URL: http://svn.apache.org/viewvc?rev=1357961&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (svn_wc__db_op_delete): Really check if the wcroots match. Id is just
    a constant in our current code.

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=1357961&r1=1357960&r2=1357961&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Thu Jul  5 21:56:33 2012
@@ -7253,7 +7253,7 @@ svn_wc__db_op_delete(svn_wc__db_t *db,
                                                     scratch_pool));
       VERIFY_USABLE_WCROOT(moved_to_wcroot);
 
-      if (wcroot->wc_id != moved_to_wcroot->wc_id)
+      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 "
                                    "are not in the same working copy"),