Author: mlandres Date: Tue Jun 19 13:54:22 2007 New Revision: 5786 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5786&view=rev Log: backup Modified: trunk/libzypp/devel/devel.ma/Main.cc trunk/libzypp/devel/devel.ma/Parse.cc Modified: trunk/libzypp/devel/devel.ma/Main.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/Main.cc?rev=5786&r1=5785&r2=5786&view=diff ============================================================================== --- trunk/libzypp/devel/devel.ma/Main.cc (original) +++ trunk/libzypp/devel/devel.ma/Main.cc Tue Jun 19 13:54:22 2007 @@ -118,26 +118,26 @@ if ( 0 ) { const char * data[] = { - "@ product", - "@ installed", - "- prodold 1 1 x86_64", + "@ package", "@ available", "- prodnew 1 1 x86_64", - "@ obsoletes", - "prodold", "@ fin", }; debug::addPool( data, data + ( sizeof(data) / sizeof(const char *) ) ); } else { - debug::addPool( "SRC/iorderbug.pool" ); + debug::addPool( "TEST" ); } + ResPool pool( getZYpp()->pool() ); + vdumpPoolStats( USR << "Initial pool:" << endl, pool.begin(), pool.end() ) << endl; + return 0; + /////////////////////////////////////////////////////////////////// // define transaction /////////////////////////////////////////////////////////////////// Modified: trunk/libzypp/devel/devel.ma/Parse.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/Parse.cc?rev=5786&r1=5785&r2=5786&view=diff ============================================================================== --- trunk/libzypp/devel/devel.ma/Parse.cc (original) +++ trunk/libzypp/devel/devel.ma/Parse.cc Tue Jun 19 13:54:22 2007 @@ -202,7 +202,7 @@ Pathname reporoot( "lmd" ); cache::CacheStore store( dbdir ); - data::RecordId repositoryId = store.lookupOrAppendRepository("foo"); + data::RecordId repositoryId = store.lookupOrAppendRepository( "foosource" ); { Measure x( "XXXXXXXXXXXXX" ); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org