Author: mlandres Date: Mon Mar 17 15:59:16 2008 New Revision: 9176 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9176&view=rev Log: mv DBG MIL Modified: trunk/libzypp/devel/devel.ma/NewPool.cc trunk/libzypp/zypp/sat/detail/PoolImpl.cc Modified: trunk/libzypp/devel/devel.ma/NewPool.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/NewPool.cc?rev=9176&r1=9175&r2=9176&view=diff ============================================================================== --- trunk/libzypp/devel/devel.ma/NewPool.cc (original) +++ trunk/libzypp/devel/devel.ma/NewPool.cc Mon Mar 17 15:59:16 2008 @@ -533,12 +533,20 @@ /////////////////////////////////////////////////////////////////// - for_( it, pool.begin(), pool.end() ) + for_( it, pool.byIdentBegin<SrcPackage>("zypper"), pool.byIdentEnd<SrcPackage>("zypper") ) { - tt( (*it)->name() ); + INT << *it << endl; + MIL << dump((*it).satSolvable()) << endl; + //tt( (*it)->name() ); } #if 0 + for_( it, pool.byKindBegin<SrcPackage>(), pool.byKindEnd<SrcPackage>() ) + { + MIL << *it << endl; + //tt( (*it)->name() ); + } + IdString id ("amarok"); sat::WhatProvides w( Capability(id.id()) ); Modified: trunk/libzypp/zypp/sat/detail/PoolImpl.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/sat/detail/PoolImpl.cc?rev=9176&r1=9175&r2=9176&view=diff ============================================================================== --- trunk/libzypp/zypp/sat/detail/PoolImpl.cc (original) +++ trunk/libzypp/zypp/sat/detail/PoolImpl.cc Mon Mar 17 15:59:16 2008 @@ -125,9 +125,9 @@ { if ( a1 ) { - if ( a3 ) DBG << a1 << " " << a2 << " " << a3 << endl; - else if ( a2 ) DBG << a1 << " " << a2 << endl; - else DBG << a1 << endl; + if ( a3 ) MIL << a1 << " " << a2 << " " << a3 << endl; + else if ( a2 ) MIL << a1 << " " << a2 << endl; + else MIL << a1 << endl; } _serial.setDirty(); // pool content change _availableLocalesPtr.reset(); // available locales may change @@ -140,9 +140,9 @@ { if ( a1 ) { - if ( a3 ) DBG << a1 << " " << a2 << " " << a3 << endl; - else if ( a2 ) DBG << a1 << " " << a2 << endl; - else DBG << a1 << endl; + if ( a3 ) MIL << a1 << " " << a2 << " " << a3 << endl; + else if ( a2 ) MIL << a1 << " " << a2 << endl; + else MIL << a1 << endl; } ::pool_freewhatprovides( _pool ); } @@ -157,7 +157,7 @@ } if ( ! _pool->whatprovides ) { - DBG << "pool_createwhatprovides..." << endl; + MIL << "pool_createwhatprovides..." << endl; ::pool_addfileprovides( _pool, sat::Pool::instance().systemRepo().get() ); ::pool_createwhatprovides( _pool ); } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org