"--nodeps", "--pretend"])
def __init__(self, settings, trees, mtimedb, myopts,
- spinner, mergelist, favorites):
+ spinner, mergelist, favorites, digraph):
self.settings = settings
self.target_root = settings["ROOT"]
self.trees = trees
time.sleep(3) # allow the parent to have first fetch
mymergelist = mydepgraph.altlist()
mydepgraph.break_refs(mymergelist)
+ mergetask = MergeTask(settings, trees, mtimedb, myopts,
+ spinner, mymergelist, favorites, mydepgraph.digraph)
del mydepgraph
clear_caches(trees)
- mergetask = MergeTask(settings, trees, mtimedb, myopts,
- spinner, mymergelist, favorites)
retval = mergetask.merge()
merge_count = mergetask.curval
else:
pkglist = mydepgraph.altlist()
mydepgraph.saveNomergeFavorites()
mydepgraph.break_refs(pkglist)
+ mergetask = MergeTask(settings, trees, mtimedb, myopts,
+ spinner, pkglist, favorites, mydepgraph.digraph)
del mydepgraph
clear_caches(trees)
- mergetask = MergeTask(settings, trees, mtimedb, myopts,
- spinner, pkglist, favorites)
retval = mergetask.merge()
merge_count = mergetask.curval