https://bugzilla.novell.com/show_bug.cgi?id=397037
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397037#c2
--- Comment #2 from Ján Kupec 2008-06-04 08:06:16 MDT ---
Well, in case of ignore it should not decrease the count. But that's harmless,
too:
$ svn diff src/zypper-repo-callbacks.h
Index: src/zypper-repo-callbacks.h
===================================================================
--- src/zypper-repo-callbacks.h (revision 10340)
+++ src/zypper-repo-callbacks.h (working copy)
@@ -184,9 +184,12 @@
virtual Action problem( zypp::Resolvable::constPtr resolvable_ptr, Error
/*error*/, const std::string & description )
{
Zypper::instance()->out().error(description);
- ++Zypper::instance()->runtimeData().commit_pkg_current;
DBG << "error report" << endl;
- return (Action) read_action_ari(PROMPT_ARI_RPM_DOWNLOAD_PROBLEM, ABORT);
+
+ Action action = (Action) read_action_ari(PROMPT_ARI_RPM_DOWNLOAD_PROBLEM,
ABORT);
+ if (action == DownloadResolvableReport::RETRY)
+ --Zypper::instance()->runtimeData().commit_pkg_current;
+ return action;
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.