subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r951069 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Date Thu, 03 Jun 2010 17:05:27 GMT
Author: philip
Date: Thu Jun  3 17:05:27 2010
New Revision: 951069

URL: http://svn.apache.org/viewvc?rev=951069&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
  (temp_cross_db_copy): Add some comments.

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=951069&r1=951068&r2=951069&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Thu Jun  3 17:05:27 2010
@@ -2275,7 +2275,10 @@ temp_cross_db_copy(svn_wc__db_t *db,
   if (have_row)
     {
       /* const char *prop_reject = svn_sqlite__column_text(stmt, 0,
-                                                           scratch_pool); */
+                                                           scratch_pool);
+
+         ### STMT_INSERT_ACTUAL_NODE doesn't cover every column, it's
+         ### enough for some cases but will probably need to extended. */
       const char *changelist = svn_sqlite__column_text(stmt, 1, scratch_pool);
       const char *conflict_old = svn_sqlite__column_text(stmt, 2, scratch_pool);
       const char *conflict_new = svn_sqlite__column_text(stmt, 3, scratch_pool);
@@ -2284,6 +2287,8 @@ temp_cross_db_copy(svn_wc__db_t *db,
       const char *tree_conflict_data = svn_sqlite__column_text(stmt, 5,
                                                                scratch_pool);
       apr_size_t props_size;
+
+      /* No need to parse the properties when simply copying. */
       const char *properties = svn_sqlite__column_blob(stmt, 6, &props_size,
                                                        scratch_pool);
       SVN_ERR(svn_sqlite__reset(stmt));



Mime
View raw message