Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11575 - /trunk/libzypp/zypp/ui/SelectableImpl.h
  • From: dmacvicar@xxxxxxxxxxxxxxxx
  • Date: Tue, 04 Nov 2008 15:11:04 -0000
  • Message-id: <20081104151104.25E5635321@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages