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

svn commit: r1432137 - /subversion/trunk/subversion/libsvn_repos/repos.c

Author: brane
Date: Fri Jan 11 16:26:47 2013
New Revision: 1432137

URL: http://svn.apache.org/viewvc?rev=1432137&view=rev
Log:
Rename preprocessor symbol used to activate server-crash for testing.

* subversion/libsvn_repos/repos.c (get_repos): Make crash dependent on
   SVN_DEBUG_CRASH_AT_REPOS_OPEN instead of SVN_DEBUG.

Modified:
    subversion/trunk/subversion/libsvn_repos/repos.c

Modified: subversion/trunk/subversion/libsvn_repos/repos.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/repos.c?rev=1432137&r1=1432136&r2=1432137&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/repos.c (original)
+++ subversion/trunk/subversion/libsvn_repos/repos.c Fri Jan 11 16:26:47 2013
@@ -1539,7 +1539,7 @@ get_repos(svn_repos_t **repos_p,
   if (open_fs)
     SVN_ERR(svn_fs_open(&repos->fs, repos->db_path, fs_config, pool));
 
-#ifdef SVN_DEBUG
+#ifdef SVN_DEBUG_CRASH_AT_REPOS_OPEN
   /* If $PATH/config/debug-abort exists, crash the server here.
      This debugging feature can be used to test client recovery
      when the server crashes.
@@ -1554,7 +1554,7 @@ get_repos(svn_repos_t **repos_p,
     if (!err && kind == svn_node_file)
       SVN_ERR_MALFUNCTION_NO_RETURN();
   }
-#endif
+#endif /* SVN_DEBUG_CRASH_AT_REPOS_OPEN */
 
   *repos_p = repos;
   return SVN_NO_ERROR;