backup
authorMichael Andres <ma@suse.de>
Wed, 3 Feb 2010 11:45:10 +0000 (12:45 +0100)
committerMichael Andres <ma@suse.de>
Wed, 3 Feb 2010 11:48:03 +0000 (12:48 +0100)
tools/NameReqPrv.cc

index bb4eabd..378fbce 100644 (file)
@@ -103,12 +103,14 @@ int main( int argc, char * argv[] )
     message << str::form( "*** Load Testcase from '%s'", sysRoot.c_str() ) << endl;
     TestSetup test;
     test.loadTestcaseRepos( sysRoot );
+    dumpRange( message, satpool.reposBegin(), satpool.reposEnd() ) << endl;
   }
   else if ( TestSetup::isTestSetup( sysRoot ) )
   {
     message << str::form( "*** Load TestSetup from '%s'", sysRoot.c_str() ) << endl;
     TestSetup test( sysRoot, Arch_x86_64 );
     test.loadRepos();
+    dumpRange( message, satpool.reposBegin(), satpool.reposEnd() ) << endl;
   }
   else
   {
@@ -183,6 +185,8 @@ int main( int argc, char * argv[] )
     }
 
     PoolQuery q;
+    if ( onlyInstalled )
+      q.setInstalledOnly();
     std::string qstr( *argv );
 
     if ( *argv == ResKind::product )