summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 2 insertions, 1 deletions
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)