projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310b44f
)
Perform Resolver::doUpgrade even if target is not initialized.
author
Michael Andres
<ma@suse.de>
Thu, 10 Sep 2009 14:27:52 +0000
(16:27 +0200)
committer
Michael Andres
<ma@suse.de>
Thu, 10 Sep 2009 14:27:52 +0000
(16:27 +0200)
It's sufficient if a targets solv file is present in the pool,
as if used with testcases.
zypp/solver/detail/ResolverUpgrade.cc
patch
|
blob
|
history
diff --git
a/zypp/solver/detail/ResolverUpgrade.cc
b/zypp/solver/detail/ResolverUpgrade.cc
index
ae079b8
..
d914654
100644
(file)
--- a/
zypp/solver/detail/ResolverUpgrade.cc
+++ b/
zypp/solver/detail/ResolverUpgrade.cc
@@
-67,8
+67,7
@@
Resolver::doUpgrade()
Target_Ptr target( getZYpp()->getTarget() );
if ( ! target )
{
- ERR << "Huh, no target ?" << endl;
- return false; // can't continue without target
+ WAR << "Huh, no target ?" << endl;
}
// Setting Resolver to upgrade mode. SAT solver will do the update