subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1185421 - /subversion/trunk/subversion/libsvn_wc/update_editor.c
Date Mon, 17 Oct 2011 22:46:30 GMT
Author: stsp
Date: Mon Oct 17 22:46:29 2011
New Revision: 1185421

URL: http://svn.apache.org/viewvc?rev=1185421&view=rev
Log:
Follow-up to r1185392:
* subversion/libsvn_wc/update_editor.c
  (add_directory): Do not create directories on disk inside subtrees which
    have been moved away.

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=1185421&r1=1185420&r2=1185421&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Mon Oct 17 22:46:29 2011
@@ -2310,8 +2310,8 @@ add_directory(const char *path,
                                                        pool));
 
   /* Make sure there is a real directory at LOCAL_ABSPATH, unless we are just
-     updating the DB */
-  if (!db->shadowed)
+     updating the DB or the parent was moved away. */
+  if (!db->shadowed && !pb->moved_to_abspath)
     SVN_ERR(svn_wc__ensure_directory(db->local_abspath, pool));
 
   if (!db->shadowed && status == svn_wc__db_status_added)



Mime
View raw message