From 0e622a638fe059aafde079eb552ab8e433510d41 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 28 Jul 2010 08:14:34 -0700 Subject: Add a --package-moves[=n] option that can be used to control the "Performing Global Updates" routine. This option is enabled by default. --- pym/_emerge/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym/_emerge/actions.py') diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index e014b16d4..16c329bbe 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -2289,7 +2289,8 @@ def action_sync(settings, trees, mtimedb, myopts, myaction): # the only one that's been synced here. action_metadata(settings, portdb, myopts, porttrees=[myportdir]) - if _global_updates(trees, mtimedb["updates"]): + if myopts.get('--package-moves') != 'n' and \ + _global_updates(trees, mtimedb["updates"]): mtimedb.commit() # Reload the whole config from scratch. settings, trees, mtimedb = load_emerge_config(trees=trees) -- cgit v1.2.3-1-g7c22