From dc135d138dd29b09de550fa253aa4be27f0a3d9a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 Feb 2006 19:25:23 +0000 Subject: [PATCH] Consider global updates that proceed quickly as a single mtimedb transaction. svn path=/main/trunk/; revision=2732 --- pym/portage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 \ -- 2.26.2