remove space in alias
authorMichael Andres <ma@suse.de>
Thu, 18 Sep 2008 14:28:11 +0000 (14:28 +0000)
committerMichael Andres <ma@suse.de>
Thu, 18 Sep 2008 14:28:11 +0000 (14:28 +0000)
devel/devel.ma/NewPool.cc
zypp/RepoManager.cc

index 8aef177..4dbc473 100644 (file)
@@ -444,7 +444,9 @@ try {
   INT << "===[START]==========================================" << endl;
   ZConfig::instance();
 
-#if 1
+
+
+#if 0
 
   RepoManager repoManager( makeRepoManager( sysRoot ) );
 
@@ -469,7 +471,6 @@ try {
     repoManager.refreshService( s );
   }
 
-#if 0
 
   RepoInfo nrepo;
   nrepo.setAlias( alias );
@@ -511,7 +512,7 @@ try {
     }
   }
 
-  if ( 0 )
+  if ( 1 )
   {
     RepoManager repoManager( makeRepoManager( sysRoot ) );
     RepoInfoList repos = repoManager.knownRepositories();
@@ -583,13 +584,6 @@ try {
   ///////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////
 
-
-
-  ///////////////////////////////////////////////////////////////////
-  INT << "===[END]============================================" << endl << endl;
-  zypp::base::LogControl::instance().logNothing();
-  return 0;
-
   if ( 0 )
   {
     PoolItem pi ( getPi<Package>("amarok") );
index d9fc1f1..6dcbf2a 100644 (file)
@@ -1673,7 +1673,7 @@ namespace zypp
       }
 
       // Prepend service alias:
-      it->setAlias( str::form( "%s: %s", service.alias().c_str(), it->alias().c_str() ) );
+      it->setAlias( str::form( "%s:%s", service.alias().c_str(), it->alias().c_str() ) );
 
       // use the same credentials as the service
       if (!serviceCredParam.empty())