Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11814 - /trunk/libzypp/devel/devel.ma/NewPool.cc
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Wed, 26 Nov 2008 16:50:30 -0000
  • Message-id: <20081126165030.E63F4B7BF2@xxxxxxxxxxxxxxxx>
Author: mlandres
Date: Wed Nov 26 17:50:30 2008
New Revision: 11814

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11814&view=rev
Log:
backup

Modified:
trunk/libzypp/devel/devel.ma/NewPool.cc

Modified: trunk/libzypp/devel/devel.ma/NewPool.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.ma/NewPool.cc?rev=11814&r1=11813&r2=11814&view=diff
==============================================================================
--- trunk/libzypp/devel/devel.ma/NewPool.cc (original)
+++ trunk/libzypp/devel/devel.ma/NewPool.cc Wed Nov 26 17:50:30 2008
@@ -441,54 +441,6 @@
INT << "===[START]==========================================" << endl;
ZConfig::instance();

-
-#if 0
-
- RepoManager repoManager( makeRepoManager( sysRoot ) );
-
- ServiceInfoList services = repoManager.knownServices();
- WAR << services << endl;
-
- //RepoInfoList repos = repoManager.knownRepositories();
- //DBG << repos << endl;
-
-
- ServiceInfo s( repoManager.getService( "STest" ) );
- if ( s == ServiceInfo::noService )
- {
- Measure x( "Add service STest" );
- repoManager.addService( "STest", Url("dir:///Local/Service") );
- s = repoManager.getService( "STest" );
- USR << "Add service " << s << endl;
- }
-
- {
- Measure x( "Refresh service STest" );
- repoManager.refreshService( s );
- }
-
-
- RepoInfo nrepo;
- nrepo.setAlias( alias );
- nrepo.setName( alias );
- nrepo.setEnabled( true );
- nrepo.setAutorefresh( false );
- nrepo.addBaseUrl( Url(url) );
-
- if ( ! repoManager.isCached( nrepo ) )
- {
- repoManager.buildCache( nrepo );
- }
-
- repoManager.loadFromCache( nrepo );
-
-
- ///////////////////////////////////////////////////////////////////
- INT << "===[END]============================================" << endl <<
endl;
- zypp::base::LogControl::instance().logNothing();
- return 0;
-#endif
-
ResPool pool( ResPool::instance() );
sat::Pool satpool( sat::Pool::instance() );

@@ -507,10 +459,6 @@
}
}

- ///////////////////////////////////////////////////////////////////
- INT << "===[END]============================================" << endl <<
endl;
- zypp::base::LogControl::instance().logNothing();
- return 0;
if ( 1 )
{
RepoManager repoManager( makeRepoManager( sysRoot ) );

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages