count items before _and_ after resolve
authorKlaus Kaempf <kkaempf@suse.de>
Thu, 23 Feb 2006 20:25:42 +0000 (20:25 +0000)
committerKlaus Kaempf <kkaempf@suse.de>
Thu, 23 Feb 2006 20:25:42 +0000 (20:25 +0000)
zypp/solver/detail/Resolver.cc

index 79146a1..119e1fe 100644 (file)
@@ -757,10 +757,11 @@ Resolver::resolvePool ()
        ResolverContext_Ptr solution = bestContext();
        solution->foreachMarked (solution_to_pool, NULL);
 #if 1
+       count = 0;
        MIL << "Pool after resolve" << endl;
        MIL << "---------------------------------------" << endl;
        for (ResPool::const_iterator it = _pool.begin(); it != _pool.end(); ++it) {
-           MIL << *it << endl;
+           MIL << ++count << ". " << *it << endl;
        }
        MIL << "---------------------------------------" << endl;
 #endif