ref: refs/heads/ma-tmp-pqt
commit 6007cbeeef79017873279f160f120eb79f7946e2
Author: Michael Andres
Date: Sat Apr 11 00:57:21 2009 +0200
backup
---
devel/devel.ma/NewPool.cc | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/devel/devel.ma/NewPool.cc b/devel/devel.ma/NewPool.cc
index 97baeb2..af44b4b 100644
--- a/devel/devel.ma/NewPool.cc
+++ b/devel/devel.ma/NewPool.cc
@@ -613,16 +613,17 @@ try {
PoolQuery q;
//querycompare( q );
- //q.addString(search);
- //q.addAttribute(sat::SolvAttr::name);
- //q.addAttribute(sat::SolvAttr::summary);
+ q.addString(search);
+ //q.addAttribute(sat::SolvAttr::name, "foo" );
+ q.addAttribute(sat::SolvAttr::summary);
q.setMatchSubstring();
+ //q.setMatchExact();
q.setCaseSensitive( true );
//q.addRepo( "11.1-update" );
//q.addRepo( "@System" );
- q.addKind( ResKind::package );
+ //q.addKind( ResKind::package );
//q.addKind( ResKind::pattern );
//q.addKind( ResKind::patch );
@@ -630,7 +631,6 @@ try {
querycompare( q );
-
#if 0
getZYpp()->resolver()->addRequire( Capability("amarok") );
solve();
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org