You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/08/31 18:39:49 UTC

svn commit: r991236 - /subversion/trunk/subversion/libsvn_wc/wc.h

Author: julianfoad
Date: Tue Aug 31 16:39:49 2010
New Revision: 991236

URL: http://svn.apache.org/viewvc?rev=991236&view=rev
Log:
Enable single-DB mode.

* subversion/libsvn_wc/wc.h
  (SVN_WC__SINGLE_DB, SINGLE_DB): Define if SVN_WC__VERSION >= 19.  Move to
    after the definition of SVN_WC__VERSION.
  (SVN_WC__VERSION): Bump to 19 and document the change.

Modified:
    subversion/trunk/subversion/libsvn_wc/wc.h

Modified: subversion/trunk/subversion/libsvn_wc/wc.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc.h?rev=991236&r1=991235&r2=991236&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc.h (original)
+++ subversion/trunk/subversion/libsvn_wc/wc.h Tue Aug 31 16:39:49 2010
@@ -50,16 +50,6 @@ extern "C" {
                                                file */
 
 
-/* ### Both SVN_WC__SINGLE_DB and SINGLE_DB are needed for proper use of the
-   ### experimental single-db feature.  They have slightly different meanings,
-   ### which is why there are two contants.  They will both disappear in the
-   ### final 1.7 release, but for now, if you want to use SINGLE_DB, you'll
-   ### need to uncomment the following line. */
-/* #define SVN_WC__SINGLE_DB */
-#ifdef SVN_WC__SINGLE_DB
-#define SINGLE_DB
-#endif
-
 
 /* We can handle this format or anything lower, and we (should) error
  * on anything higher.
@@ -132,12 +122,23 @@ extern "C" {
  * props and prop-base directory (and .svn for the dir itself) into the
  * wc.db file, and then removes the props and prop-base dir.
  *
+ * The change from 18 to 19 introduces the 'single DB' per working copy.
+ * All metadata is held in a single '.svn/wc.db' in the root directory of
+ * the working copy.
+ *
  * == 1.7.x shipped with format ???
  *
  * Please document any further format changes here.
  */
 
-#define SVN_WC__VERSION 18
+#define SVN_WC__VERSION 19
+
+/* ### SVN_WC__SINGLE_DB and SINGLE_DB were both used in development
+   ### and will both disappear before the final 1.7 release. */
+#if SVN_WC__VERSION >= 19
+#define SVN_WC__SINGLE_DB
+#define SINGLE_DB
+#endif
 
 
 /* Formats <= this have no concept of "revert text-base/props".  */