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

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

Author: philip
Date: Mon Sep 27 12:32:22 2010
New Revision: 1001704

URL: http://svn.apache.org/viewvc?rev=1001704&view=rev
Log:
* subversion/libsvn_wc/wc_db.c (db_working_insert): Make op_depth conditional.

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=1001704&r1=1001703&r2=1001704&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Mon Sep 27 12:32:22 2010
@@ -4882,7 +4882,11 @@ db_working_insert(svn_wc__db_status_t st
   iwb.wc_id = pdh->wcroot->wc_id;
   iwb.local_relpath = local_relpath;
   iwb.presence = status;
+#ifdef SVN_WC__OP_DEPTH
   iwb.op_depth = relpath_depth(local_relpath);
+#else
+  iwb.op_depth = 2; /* ### temporary op_depth */
+#endif
 
   SVN_ERR(svn_sqlite__with_transaction(pdh->wcroot->sdb,
                                        copy_working_from_base, &iwb,