subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1404163 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
Date Wed, 31 Oct 2012 14:21:44 GMT
Author: stefan2
Date: Wed Oct 31 14:21:43 2012
New Revision: 1404163

URL: http://svn.apache.org/viewvc?rev=1404163&view=rev
Log:
* subversion/libsvn_fs_fs/fs_fs.c
  (recover_body): remove potentially corrupted temporary files

Suggested by: philip

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=1404163&r1=1404162&r2=1404163&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Wed Oct 31 14:21:43 2012
@@ -8971,7 +8971,10 @@ recover_body(void *baton, apr_pool_t *po
   svn_revnum_t youngest_rev;
   svn_node_kind_t youngest_revprops_kind;
 
-  /* First, we need to know the largest revision in the filesystem. */
+  /* Lose potentially corrupted data in temp files */
+  SVN_ERR(cleanup_revprop_namespace(fs));
+
+  /* We need to know the largest revision in the filesystem. */
   SVN_ERR(recover_get_largest_revision(fs, &max_rev, pool));
 
   /* Get the expected youngest revision */



Mime
View raw message