You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by pb...@apache.org on 2010/10/01 17:23:17 UTC

svn commit: r1003563 - /subversion/trunk/subversion/libsvn_repos/dump.c

Author: pburba
Date: Fri Oct  1 15:23:17 2010
New Revision: 1003563

URL: http://svn.apache.org/viewvc?rev=1003563&view=rev
Log:
Follow-up to the issue #3020 work: Stop issue #3020 warnings during svnadmin
verify, these are intended for svnadmin dump only.

See http://svn.haxx.se/dev/archive-2010-09/0718.shtml

* subversion/libsvn_repos/dump.c

  (dump_node): Don't issue warnings about mergeinfo properties that refer
   to revisions older than the first revision "dumped" when the "dump" is in
   fact svnadmin verify.

Suggested by: julianf

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

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1003563&r1=1003562&r2=1003563&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Fri Oct  1 15:23:17 2010
@@ -432,7 +432,7 @@ dump_node(struct edit_baton *eb,
       /* If this is a partial dump, then issue a warning if we dump mergeinfo
          properties that refer to revisions older than the first revision
          dumped. */
-      if (eb->notify_func && eb->oldest_dumped_rev > 1)
+      if (!eb->verify && eb->notify_func && eb->oldest_dumped_rev > 1)
         {
           svn_string_t *mergeinfo_str = apr_hash_get(prophash,
                                                      SVN_PROP_MERGEINFO,