subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r951175 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Date Thu, 03 Jun 2010 21:33:34 GMT
Author: gstein
Date: Thu Jun  3 21:33:34 2010
New Revision: 951175

URL: http://svn.apache.org/viewvc?rev=951175&view=rev
Log:
Commenting the NULL params is good, but typical pattern is for the comma
to be post-comment. This allows for searching for "NULL," or "TRUE," or
whatever to find uncommented constant parameters.

* subversion/libsvn_wc/wc_db.c:
  (temp_cross_db_copy, svn_wc__db_op_copy): tweak style of 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=951175&r1=951174&r2=951175&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Thu Jun  3 21:33:34 2010
@@ -2219,28 +2219,28 @@ temp_cross_db_copy(svn_wc__db_t *db,
 
   SVN_ERR_ASSERT(kind == svn_wc__db_kind_file || kind == svn_wc__db_kind_dir);
 
-  SVN_ERR(svn_wc__db_read_info(NULL, /* status */
-                               NULL, /* kind */
-                               NULL, /* revision */
-                               NULL, /* repos_relpath */
-                               NULL, /* repos_root_url */
-                               NULL, /* repos_uuid */
+  SVN_ERR(svn_wc__db_read_info(NULL /* status */,
+                               NULL /* kind */,
+                               NULL /* revision */,
+                               NULL /* repos_relpath */,
+                               NULL /* repos_root_url */,
+                               NULL /* repos_uuid */,
                                &changed_rev, &changed_date, &changed_author,
-                               NULL, /* last_mod_time */
+                               NULL /* last_mod_time */,
                                &depth,
                                &checksum,
-                               NULL, /* translated_size */
-                               NULL, /* target */
-                               NULL, /* changelist */
-                               NULL, /* original_repos_relpath */
-                               NULL, /* original_root_url */
-                               NULL, /* original_uuid */
-                               NULL, /* original_revision */
-                               NULL, /* text_mod */
-                               NULL, /* props_mod */
-                               NULL, /* base_shadowed */
-                               NULL, /* conflicted */
-                               NULL, /* lock */
+                               NULL /* translated_size */,
+                               NULL /* target */,
+                               NULL /* changelist */,
+                               NULL /* original_repos_relpath */,
+                               NULL /* original_root_url */,
+                               NULL /* original_uuid */,
+                               NULL /* original_revision */,
+                               NULL /* text_mod */,
+                               NULL /* props_mod */,
+                               NULL /* base_shadowed */,
+                               NULL /* conflicted */,
+                               NULL /* lock */,
                                db, src_abspath, scratch_pool, scratch_pool));
 
   SVN_ERR(svn_wc__get_pristine_props(&props, db, src_abspath,
@@ -2344,24 +2344,24 @@ svn_wc__db_op_copy(svn_wc__db_t *db,
 
   SVN_ERR(svn_wc__db_read_info(&status, &kind, &revision,
                                &repos_relpath, &repos_root_url, &repos_uuid,
-                               NULL, /* changed_rev */
-                               NULL, /* changed_date */
-                               NULL, /* changed_author */
-                               NULL, /* last_mod_time */
-                               NULL, /* depth */
-                               NULL, /* checksum */
-                               NULL, /* translated_size */
-                               NULL, /* target */
-                               NULL, /* changelist */
-                               NULL, /* original_repos_relpath */
-                               NULL, /* original_root_url */
-                               NULL, /* original_uuid */
-                               NULL, /* original_revision */
-                               NULL, /* text_mod */
-                               NULL, /* props_mod */
-                               NULL, /* base_shadowed */
-                               NULL, /* conflicted */
-                               NULL, /* lock */
+                               NULL /* changed_rev */,
+                               NULL /* changed_date */,
+                               NULL /* changed_author */,
+                               NULL /* last_mod_time */,
+                               NULL /* depth */,
+                               NULL /* checksum */,
+                               NULL /* translated_size */,
+                               NULL /* target */,
+                               NULL /* changelist */,
+                               NULL /* original_repos_relpath */,
+                               NULL /* original_root_url */,
+                               NULL /* original_uuid */,
+                               NULL /* original_revision */,
+                               NULL /* text_mod */,
+                               NULL /* props_mod */,
+                               NULL /* base_shadowed */,
+                               NULL /* conflicted */,
+                               NULL /* lock */,
                                db, src_abspath, scratch_pool, scratch_pool));
 
   SVN_ERR_ASSERT(kind == svn_wc__db_kind_file || kind == svn_wc__db_kind_dir);
@@ -2381,9 +2381,9 @@ svn_wc__db_op_copy(svn_wc__db_t *db,
       svn_revnum_t original_revision;
 
       SVN_ERR(svn_wc__db_scan_addition(&status, &op_root_abspath,
-                                       NULL, /* repos_relpath */
-                                       NULL, /* repos_root_url */
-                                       NULL, /* repos_uuid */
+                                       NULL /* repos_relpath */,
+                                       NULL /* repos_root_url */,
+                                       NULL /* repos_uuid */,
                                        &original_repos_relpath,
                                        &original_root_url, &original_uuid,
                                        &original_revision,



Mime
View raw message