> Index: subversion/libsvn_repos/dump.c > =================================================================== > --- subversion/libsvn_repos/dump.c (revision 1402414) > +++ subversion/libsvn_repos/dump.c (working copy) > @@ -1459,5 +1512,8 @@ > /* Per-backend verification. */ > svn_pool_destroy(iterpool); > > + if (found_corruption) > + return svn_error_createf(SVN_ERR_REPOS_CORRUPTED, NULL, > + _("Repository has corruptions."));
You don't know that the repository is corrupt (maybe the error was EPERM on the db/ dir). "Repository '%s' failed to verify" would be better.