Author: danielsh Date: Fri Sep 28 15:56:47 2018 New Revision: 1842262 URL: http://svn.apache.org/viewvc?rev=1842262&view=rev Log: * subversion/tests/cmdline/svnadmin_tests.py (read_rep_cache): Explain the magic numbers '3.8.2' and '2'.
Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Modified: subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py?rev=1842262&r1=1842261&r2=1842262&view=diff ============================================================================== --- subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py (original) +++ subversion/trunk/subversion/tests/cmdline/svnadmin_tests.py Fri Sep 28 15:56:47 2018 @@ -59,7 +59,8 @@ def read_rep_cache(repo_dir): db_path = os.path.join(repo_dir, 'db', 'rep-cache.db') db1 = svntest.sqlite3.connect(db_path) schema1 = db1.execute("pragma user_version").fetchone()[0] - # Can't test newer rep-cache schemas with an old built-in SQLite. + # Can't test newer rep-cache schemas with an old built-in SQLite; see the + # documentation of STMT_CREATE_SCHEMA_V2 in ../../libsvn_fs_fs/rep-cache-db.sql if schema1 >= 2 and svntest.sqlite3.sqlite_version_info < (3, 8, 2): raise svntest.Failure("Can't read rep-cache schema %d using old " "Python-SQLite version %s < (3,8,2)" %