From: Zac Medico Date: Sat, 18 Feb 2006 19:25:23 +0000 (-0000) Subject: Consider global updates that proceed quickly as a single mtimedb transaction. X-Git-Tag: v2.1_pre5_2760~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc135d138dd29b09de550fa253aa4be27f0a3d9a;p=portage.git Consider global updates that proceed quickly as a single mtimedb transaction. svn path=/main/trunk/; revision=2732 --- diff --git a/pym/portage.py b/pym/portage.py index cf238850c..c6a795092 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6942,7 +6942,9 @@ if (secpass==2) and (not os.environ.has_key("SANDBOX_ACTIVE")): (settings["PORTAGE_CALLER"] == "fixpackages"): didupdate=1 myupd.extend(do_upgrade(mykey)) - commit_mtimedb() # This lets us save state for C-c. + # The above global updates proceed quickly, so they + # are considered a single mtimedb transaction. + commit_mtimedb() # We gotta do the brute force updates for these now. if (settings["PORTAGE_CALLER"] in ["fixpackages"]) or \