[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r937033 - /subversion/trunk/subversion/libsvn_repos/dump.c

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 22 Apr 2010 17:46:36 -0400

On Thu, Apr 22, 2010 at 15:40, <pburba_at_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
Received on 2010-04-22 23:47:03 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.