You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ne...@apache.org on 2010/08/02 14:05:27 UTC

svn commit: r981470 - /subversion/trunk/subversion/libsvn_wc/update_editor.c

Author: neels
Date: Mon Aug  2 12:05:27 2010
New Revision: 981470

URL: http://svn.apache.org/viewvc?rev=981470&view=rev
Log:
SINGLE_DB: Don't write depth = "unknown" for dirs added on update.

* subversion/libsvn_wc/update_editor.c
  (close_directory):
    Translate depth_unknown to _infinity on "second pass" of adding a dir.

Modified:
    subversion/trunk/subversion/libsvn_wc/update_editor.c

Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=981470&r1=981469&r2=981470&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Mon Aug  2 12:05:27 2010
@@ -3168,6 +3168,12 @@ close_directory(void *dir_baton,
       if (new_changed_author != NULL)
         changed_author = new_changed_author;
 
+#ifdef SINGLE_DB
+      /* If no depth is set yet, set to infinity. */
+      if (depth == svn_depth_unknown)
+        depth = svn_depth_infinity;
+#endif
+
       /* Do we have new properties to install? Or shall we simply retain
          the prior set of properties? If we're installing new properties,
          then we also want to write them to an old-style props file.  */