projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b309b
)
Only generate PORTAGE_COUNTER_HASH for actions that can involve vdb
author
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Mar 2009 03:53:38 +0000
(
03:53
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Mar 2009 03:53:38 +0000
(
03:53
-0000)
modification.
svn path=/main/trunk/; revision=12753
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 4f4ed1e1c32c8d0241d3c2197c2224e7aec0b1d8..5600ced6f0a7b99059f56570293312eeeff1a266 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-15270,7
+15270,8
@@
def emerge_main():
mysettings = trees[myroot]["vartree"].settings
mysettings.unlock()
adjust_config(myopts, mysettings)
- if "--pretend" not in myopts:
+ if '--pretend' not in myopts and myaction in \
+ (None, 'clean', 'depclean', 'prune', 'unmerge'):
mysettings["PORTAGE_COUNTER_HASH"] = \
trees[myroot]["vartree"].dbapi._counter_hash()
mysettings.backup_changes("PORTAGE_COUNTER_HASH")