Mailinglist Archive: zypp-commit (185 mails)

< Previous Next >
[zypp-commit] r10883 - /trunk/libzypp/zypp/target/TargetImpl.cc
  • From: schubi2@xxxxxxxxxxxxxxxx
  • Date: Tue, 19 Aug 2008 08:27:54 -0000
  • Message-id: <20080819082754.A6B0730F71@xxxxxxxxxxxxxxxx>
Author: schubi2
Date: Tue Aug 19 10:27:54 2008
New Revision: 10883

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10883&view=rev
Log:
Reset transaction only if this solvable has not buddy
(Bug #417799)
e.g. do not reset Products cause the concerning release package could not
already be installed.

Modified:
trunk/libzypp/zypp/target/TargetImpl.cc

Modified: trunk/libzypp/zypp/target/TargetImpl.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/target/TargetImpl.cc?rev=10883&r1=10882&r2=10883&view=diff
==============================================================================
--- trunk/libzypp/zypp/target/TargetImpl.cc (original)
+++ trunk/libzypp/zypp/target/TargetImpl.cc Tue Aug 19 10:27:54 2008
@@ -811,7 +811,13 @@
}
else if (!policy_r.dryRun()) // other resolvables (non-Package)
{
- it->status().resetTransact( ResStatus::USER );
+ if (it->buddy() == sat::Solvable())
+ {
+ // Reset transaction only if this solvable has not buddy (Bug
#417799)
+ // e.g. do not reset Products cause the concerning release
package
+ // could not already be installed.
+ it->status().resetTransact( ResStatus::USER );
+ }
} // other resolvables

} // for

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages