Author: dmacvicar Date: Tue Jun 19 01:01:18 2007 New Revision: 5781 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5781&view=rev Log: - Don't clean the cache, buildCache takes care of it. Modified: trunk/zypper/src/zypper-sources.cc Modified: trunk/zypper/src/zypper-sources.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-sources.cc?rev=5781&r1=5780&r2=5781&view=diff ============================================================================== --- trunk/zypper/src/zypper-sources.cc (original) +++ trunk/zypper/src/zypper-sources.cc Tue Jun 19 01:01:18 2007 @@ -161,13 +161,7 @@ //<< "URI: " << it->url() << endl; manager.refreshMetadata(repo); - - if ( manager.isCached(repo ) ) - { - cout_v << _("Cleaning cache...") << endl; - manager.cleanCache(repo); - } - cout_v << _("Parsing repository metadata...") << endl; + cout_v << _("Creating repository cache...") << endl; manager.buildCache(repo); cout << _("DONE") << endl << endl; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org