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:
b8328bc
)
- Fixed reloading of target data after commit. Broken since
author
Michael Andres
<ma@suse.de>
Fri, 20 Oct 2006 14:29:25 +0000
(14:29 +0000)
committer
Michael Andres
<ma@suse.de>
Fri, 20 Oct 2006 14:29:25 +0000
(14:29 +0000)
rev 3880.
zypp/zypp_detail/ZYppImpl.cc
patch
|
blob
|
history
diff --git
a/zypp/zypp_detail/ZYppImpl.cc
b/zypp/zypp_detail/ZYppImpl.cc
index
76bd7aa
..
f651bd8
100644
(file)
--- a/
zypp/zypp_detail/ZYppImpl.cc
+++ b/
zypp/zypp_detail/ZYppImpl.cc
@@
-206,7
+206,7
@@
namespace zypp
_target = new Target( root );
_target->enableStorage( root );
}
-
+
void ZYppImpl::initTarget(const Pathname & root, bool commit_only)
{
MIL << "initTarget( " << root << ", " << commit_only << ")" << endl;
@@
-254,6
+254,7
@@
namespace zypp
if (! policy_r.dryRun() ) {
// reload new status from target
removeInstalledResolvables();
+ _target->reset();
addResolvables( _target->resolvables(), true );
}