def __init__(self): options = [] self._prepare_sequence = StepSequence(self.prepare_steps) self._main_sequence = StepSequence(self.main_steps) options = sorted( set(self._prepare_sequence.options() + self._main_sequence.options())) AbstractPatchProcessingCommand.__init__(self, options)
def __init__(self): self._sequence = StepSequence([ CleanWorkingDirectoryStep, UpdateStep, RevertRevisionStep, PrepareChangeLogForRevertStep, CompleteRollout, ]) Command.__init__( self, "Revert the given revision in the working copy and optionally commit the revert and re-open the original bug", "REVISION [BUGID]", options=self._sequence.options())
def __init__(self): self._sequence = StepSequence(self.steps) AbstractDeclarativeCommmand.__init__(self, self._sequence.options())