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 2010/02/13 14:50:47 UTC

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

Author: rhuijben
Date: Sat Feb 13 13:50:47 2010
New Revision: 909815

URL: http://svn.apache.org/viewvc?rev=909815&view=rev
Log:
Fix a test failure in Windows only update_tests.py 32.

* subversion/libsvn_wc/wc_db.c
  (is_wclocked):
     Don't recurse to the parent of a root directory.

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=909815&r1=909814&r2=909815&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Sat Feb 13 13:50:47 2010
@@ -5645,6 +5645,12 @@
 
   SVN_ERR(svn_sqlite__reset(stmt));
 
+  if (svn_dirent_is_root(local_abspath, strlen(local_abspath)))
+    {
+      *locked = FALSE;
+      return SVN_NO_ERROR;
+    }
+
   return svn_error_return(is_wclocked(locked, db,
                                       svn_dirent_dirname(local_abspath,
                                                          scratch_pool),