Author: rhuijben
Date: Tue Jul 27 12:45:34 2010
New Revision: 979679
URL: http://svn.apache.org/viewvc?rev=979679&view=rev
Log:
* subversion/libsvn_wc/log.c
(cleanup_internal): Following up on r979672. Check for is-wcroot instead
of is *not* wcroot.
Modified:
subversion/trunk/subversion/libsvn_wc/log.c
Modified: subversion/trunk/subversion/libsvn_wc/log.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/log.c?rev=979679&r1=979678&r2=979679&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/log.c (original)
+++ subversion/trunk/subversion/libsvn_wc/log.c Tue Jul 27 12:45:34 2010
@@ -556,8 +556,12 @@ cleanup_internal(svn_wc__db_t *db,
SVN_ERR(svn_wc__db_get_wcroot(&cleanup_abspath, db, adm_abspath,
iterpool, iterpool));
- /* Perform these operations if we lock the entire working copy */
- if (strcmp(cleanup_abspath, adm_abspath))
+ /* Perform these operations if we lock the entire working copy.
+ Note that we really need to check a wcroot value and not
+ svn_wc__check_wcroot() as that function, will just return true
+ once we start sharing databases with externals.
+ */
+ if (strcmp(cleanup_abspath, adm_abspath) == 0)
{
#endif