pkg_type, myroot, pkg_key, action = x
if pkg_type not in self.pkg_tree_map:
continue
- if action not in ("merge", "uninstall"):
+ if action != "merge":
continue
mydb = trees[myroot][self.pkg_tree_map[pkg_type]].dbapi
try:
world_set = root_config.sets["world"]
mtimedb["resume"]["mergelist"] = [list(x) for x in mylist \
- if isinstance(x, Package)]
+ if isinstance(x, Package) and x.operation == "merge"]
mtimedb.commit()
mymergelist = mylist
unmerge(root_config.settings, self.myopts,
root_config.trees["vartree"], "unmerge",
[pkg.cpv], mtimedb["ldpath"], clean_world=0)
- del mtimedb["resume"]["mergelist"][0]
- mtimedb.commit()
continue
if x[0]=="blocks":