Author: julianfoad
Date: Thu Feb  3 10:00:41 2022
New Revision: 1897714

URL: http://svn.apache.org/viewvc?rev=1897714&view=rev
Log:
On the 'multi-wc-format' branch: improve comments.

* subversion/libsvn_wc/wc-metadata.sql
  (STMT_CREATE_SCHEMA): improve comments.

Modified:
    subversion/branches/multi-wc-format/subversion/libsvn_wc/wc-metadata.sql

Modified: 
subversion/branches/multi-wc-format/subversion/libsvn_wc/wc-metadata.sql
URL: 
http://svn.apache.org/viewvc/subversion/branches/multi-wc-format/subversion/libsvn_wc/wc-metadata.sql?rev=1897714&r1=1897713&r2=1897714&view=diff
==============================================================================
--- subversion/branches/multi-wc-format/subversion/libsvn_wc/wc-metadata.sql 
(original)
+++ subversion/branches/multi-wc-format/subversion/libsvn_wc/wc-metadata.sql 
Thu Feb  3 10:00:41 2022
@@ -39,7 +39,16 @@
  *   "base-deleted" -- node represents a delete of a BASE node
  */
 
-/* One big list of statements to create our (current) schema.  */
+/* One big list of statements to create our initial schema.
+
+   STMT_CREATE_SCHEMA creates the schema for the minimum WC format
+   supported by the client (SVN_WC__SUPPORTED_VERSION).
+
+   When we're creating a new working copy, we first execute
+   STMT_CREATE_SCHEMA, and then use the normal WC upgrade code (using
+   STMT_UPGRADE_TO_xx) to bring the schema up to any higher requested
+   format.
+ */
 -- STMT_CREATE_SCHEMA
 
 /* ------------------------------------------------------------------------- */
@@ -562,9 +571,7 @@ CREATE UNIQUE INDEX I_EXTERNALS_DEFINED
                                                       local_relpath);
 
 
-/* When we're creating a new working copy, the default schema creates
-   the earliest supported format.  The normal WC upgrade code is used
-   to bring the format up to SVN_WC__VERSION. */
+/* Identify the WC format corresponding to the schema we have created. */
 PRAGMA user_version =
 -- define: SVN_WC__SUPPORTED_VERSION
 ;


Reply via email to