On the 'multi-wc-format' branch: improve comments.
* subversion/libsvn_wc/wc-metadata.sql
(STMT_CREATE_SCHEMA): improve comments.
* "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 ON EXTERNALS (wc_id,
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
;
