]> git.saurik.com Git - apt.git/commitdiff
hide first pdiff merge failure debug message
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 16 Apr 2015 09:01:37 +0000 (11:01 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 18 Apr 2015 23:13:10 +0000 (01:13 +0200)
The sibling of this message are all guarded as debug messages, just this
one had it missing an subsequently causes display issues if triggered.

Git-Dch: Ignore

apt-pkg/acquire-item.cc

index 750e7daca476ad3fa2bb65622ec2d45f0e28d174..00862fe233614f988e9d1e8d77e17a9e34c510d6 100644 (file)
@@ -1044,7 +1044,8 @@ void pkgAcqIndexMergeDiffs::Failed(string Message,pkgAcquire::MethodConfig * Cnf
 
    // first failure means we should fallback
    State = StateErrorDiff;
-   std::clog << "Falling back to normal index file acquire" << std::endl;
+   if (Debug)
+      std::clog << "Falling back to normal index file acquire" << std::endl;
    new pkgAcqIndex(Owner, TransactionManager, Target, ExpectedHashes, MetaIndexParser);
 }
                                                                        /*}}}*/