You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/02/25 10:11:48 UTC

svn commit: r1571621 - /subversion/branches/1.7.x-r1542765/subversion/libsvn_wc/upgrade.c

Author: rhuijben
Date: Tue Feb 25 09:11:47 2014
New Revision: 1571621

URL: http://svn.apache.org/r1571621
Log:
* subversion/libsvn_wc/upgrade.c
  (svn_wc__upgrade_sdb): Import a snippet from trunk that 'accidentally'
    allows upgrading already upgraded working copies. This allows adding
    the statistics to an existing working copy.

Modified:
    subversion/branches/1.7.x-r1542765/subversion/libsvn_wc/upgrade.c

Modified: subversion/branches/1.7.x-r1542765/subversion/libsvn_wc/upgrade.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.7.x-r1542765/subversion/libsvn_wc/upgrade.c?rev=1571621&r1=1571620&r2=1571621&view=diff
==============================================================================
--- subversion/branches/1.7.x-r1542765/subversion/libsvn_wc/upgrade.c (original)
+++ subversion/branches/1.7.x-r1542765/subversion/libsvn_wc/upgrade.c Tue Feb 25 09:11:47 2014
@@ -1652,6 +1652,9 @@ svn_wc__upgrade_sdb(int *result_format,
         *result_format = XXX;
         /* FALLTHROUGH  */
 #endif
+      case SVN_WC__VERSION:
+        /* already upgraded */
+        *result_format = SVN_WC__VERSION;
 
         SVN_ERR(svn_sqlite__with_transaction(sdb, install_stats, NULL,
                                              scratch_pool));