Author: dmacvicar Date: Tue Nov 4 16:11:03 2008 New Revision: 11575 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11575&view=rev Log: - show candidate in dump of selectable Modified: trunk/libzypp/zypp/ui/SelectableImpl.h Modified: trunk/libzypp/zypp/ui/SelectableImpl.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ui/SelectableImpl.h?rev=11575&r1=11574&r2=11575&view=diff ============================================================================== --- trunk/libzypp/zypp/ui/SelectableImpl.h (original) +++ trunk/libzypp/zypp/ui/SelectableImpl.h Tue Nov 4 16:11:03 2008 @@ -267,10 +267,15 @@ inline std::ostream & dumpOn( std::ostream & str, const Selectable::Impl & obj ) { str << '[' << obj.kind() << ']' << obj.name() << ": " << obj.status() << endl; + if ( obj.candidateObj() ) + str << "(C " << obj.candidateObj() << ")" << endl; + else + str << "(C NONE )" << endl; dumpRange( str << " (I " << obj.installedSize() << ") ", obj.installedBegin(), obj.installedEnd() ); if ( obj.installedEmpty() ) str << endl << " "; dumpRange( str << " (A " << obj.availableSize() << ") ", obj.availableBegin(), obj.availableEnd() ) << endl; + return str; } ///////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org