merges. For now it executes synchronously inside the start() method.
svn path=/main/trunk/; revision=10961
retval = self._install_task.install()
return retval
+class PackageMerge(CompositeTask):
+ """
+ TODO: Implement asynchronous merge so that the scheduler can
+ run while a merge is executing.
+ """
+
+ __slots__ = ("merge",)
+
+ def start(self):
+ self.returncode = self.merge.merge()
+ self.wait()
+
class DependencyArg(object):
def __init__(self, arg=None, root_config=None):
self.arg = arg
retval = task.wait()
if retval == os.EX_OK:
- retval = task.merge()
+ task = PackageMerge(merge=task)
+ task.start()
+ retval = task.wait()
if retval == os.EX_OK:
self.curval += 1