On Thu, Apr 22, 2010 at 15:40, <pbu...@apache.org> wrote: >... > +++ subversion/trunk/subversion/libsvn_repos/dump.c Thu Apr 22 19:40:07 2010 >... > @@ -1109,6 +1114,23 @@ svn_repos_dump_fs3(svn_repos_t *repos, > loop_end: > if (progress_func) > SVN_ERR(progress_func(progress_baton, to_rev, NULL, subpool)); > + > + if (((struct edit_baton *)dump_edit_baton)->found_old_reference) > + found_old_reference = TRUE; > + } > + > + /* Did we issue any warnings about references to revisions older than > + the oldest dumped revision? If so, then issue a final generic > + warning, since the inline warnings already issued might easily be > + missed. */ > + if (found_old_reference) > + { > + const char *warning = apr_psprintf( > + subpool, > + _("WARNING: The range of revisions dumped contained references to\n" > + "WARNING: copy sources outside that range.\n")); > + SVN_ERR(progress_func(progress_baton, SVN_INVALID_REVNUM, warning, > + subpool));
No need for that psprintf() Cheers, -g