Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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())
Ejemplo n.º 3
0
 def __init__(self):
     self._sequence = StepSequence(self.steps)
     AbstractDeclarativeCommmand.__init__(self, self._sequence.options())