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

svn commit: r1535668 - /subversion/branches/log-addressing/subversion/tests/svn_test_fs.c

Author: stefan2
Date: Fri Oct 25 09:47:49 2013
New Revision: 1535668

URL: http://svn.apache.org/r1535668
Log:
On the log-addressing branch:  Support arbitrary compatibility
versions when selecting the repository format.  

* subversion/tests/svn_test_fs.c
  (make_fs_config): set the generic compatibility version option
                    that should work for all selected versions
                    but keep the old options as well for better
                    test coverage

Modified:
    subversion/branches/log-addressing/subversion/tests/svn_test_fs.c

Modified: subversion/branches/log-addressing/subversion/tests/svn_test_fs.c
URL: http://svn.apache.org/viewvc/subversion/branches/log-addressing/subversion/tests/svn_test_fs.c?rev=1535668&r1=1535667&r2=1535668&view=diff
==============================================================================
--- subversion/branches/log-addressing/subversion/tests/svn_test_fs.c (original)
+++ subversion/branches/log-addressing/subversion/tests/svn_test_fs.c Fri Oct 25 09:47:49 2013
@@ -83,6 +83,8 @@ make_fs_config(const char *fs_type,
                fs_type);
   if (server_minor_version)
     {
+      svn_hash_sets(fs_config, SVN_FS_CONFIG_COMPATIBLE_VERSION,
+                    apr_psprintf(pool, "1.%d.0", server_minor_version));
       if (server_minor_version == 6 || server_minor_version == 7)
         svn_hash_sets(fs_config, SVN_FS_CONFIG_PRE_1_8_COMPATIBLE, "1");
       else if (server_minor_version == 5)