Author: aschnell Date: Wed Aug 8 19:16:36 2007 New Revision: 6535 URL: http://svn.opensuse.org/viewcvs/zypp?rev=6535&view=rev Log: - output to cout Modified: trunk/libzypp/devel/devel.aschnell/parse1.cc trunk/libzypp/devel/devel.aschnell/parse2.cc Modified: trunk/libzypp/devel/devel.aschnell/parse1.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.aschnell/parse1.cc?rev=6535&r1=6534&r2=6535&view=diff ============================================================================== --- trunk/libzypp/devel/devel.aschnell/parse1.cc (original) +++ trunk/libzypp/devel/devel.aschnell/parse1.cc Wed Aug 8 19:16:36 2007 @@ -47,7 +47,7 @@ .setAutorefresh( false ) // .addBaseUrl(Url("ftp://dist.suse.de/install/stable-x86/")); // .addBaseUrl(Url("http://software.opensuse.org/download/home:/Arvin42/openSUSE_Factory/")); - .addBaseUrl(Url("file:///ARVIN/zypp/trunk/repotools/")); + .addBaseUrl(Url("file:///ARVIN/zypp/trunk/repotools/tmp")); repoManager.addRepository( nrepo ); @@ -76,20 +76,22 @@ for (ResPool::const_iterator itRes = pool.begin(); itRes != pool.end(); itRes++) { - USR << (*itRes)->name() << ' ' - << (*itRes)->kind() << ' ' - << (*itRes)->arch() << ' ' - << (*itRes)->edition() << endl; + cout << (*itRes)->name() << ' ' + << (*itRes)->kind() << ' ' + << (*itRes)->arch() << ' ' + << (*itRes)->edition() << endl; CapSet caps; caps = (*itRes)->dep(Dep::PROVIDES); for (CapSet::const_iterator itCap = caps.begin(); itCap != caps.end(); itCap++) - USR << " Provides: " << itCap->asString() << std::endl; + cout << " Provides: " << itCap->asString() << std::endl; caps = (*itRes)->dep(Dep::REQUIRES); for (CapSet::const_iterator itCap = caps.begin(); itCap != caps.end(); itCap++) - USR << " Requires: " << itCap->asString() << std::endl; + cout << " Requires: " << itCap->asString() << std::endl; + + cout << std::endl; } return 0; Modified: trunk/libzypp/devel/devel.aschnell/parse2.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/devel/devel.aschnell/parse2.cc?rev=6535&r1=6534&r2=6535&view=diff ============================================================================== --- trunk/libzypp/devel/devel.aschnell/parse2.cc (original) +++ trunk/libzypp/devel/devel.aschnell/parse2.cc Wed Aug 8 19:16:36 2007 @@ -48,7 +48,7 @@ .setAutorefresh( false ) // .addBaseUrl(Url("ftp://dist.suse.de/install/stable-x86/")); // .addBaseUrl(Url("http://software.opensuse.org/download/home:/Arvin42/openSUSE_Factory/")); - .addBaseUrl(Url("file:///ARVIN/zypp/trunk/repotools/")); + .addBaseUrl(Url("file:///ARVIN/zypp/trunk/repotools/tmp")); repoManager.addRepository( nrepo ); @@ -77,20 +77,22 @@ for (ResPool::const_iterator itRes = pool.begin(); itRes != pool.end(); itRes++) { - USR << (*itRes)->name() << ' ' - << (*itRes)->kind() << ' ' - << (*itRes)->arch() << ' ' - << (*itRes)->edition() << endl; + cout << (*itRes)->name() << ' ' + << (*itRes)->kind() << ' ' + << (*itRes)->arch() << ' ' + << (*itRes)->edition() << endl; CapSet caps; caps = (*itRes)->dep(Dep::PROVIDES); for (CapSet::const_iterator itCap = caps.begin(); itCap != caps.end(); itCap++) - USR << " Provides: " << itCap->asString() << std::endl; + cout << " Provides: " << itCap->asString() << std::endl; caps = (*itRes)->dep(Dep::REQUIRES); for (CapSet::const_iterator itCap = caps.begin(); itCap != caps.end(); itCap++) - USR << " Requires: " << itCap->asString() << std::endl; + cout << " Requires: " << itCap->asString() << std::endl; + + cout << std::endl; } return 0; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org