Lines Matching refs:step
192 def InjectStep(self, step):
193 self.step=step
235 self.step.GitPull()
238 self.step.Git("fetch")
241 return self.step.Git("tag").strip().splitlines()
247 self.step.GitRemotes())
272 if self.step.Git("show-ref refs/remotes/origin/%s" % name).strip():
278 if self.step.Git("show-ref refs/remotes/branch-heads/%s" % name).strip():
290 self.step.Git("fetch")
291 commit = self.step.GitLog(n=1, format="%H", grep=message, branch=remote)
296 self.step._side_effect_handler.Sleep(wait_interval)
298 self.step.Die("Couldn't determine commit for setting the tag. Maybe the "
301 self.step.Git("tag %s %s" % (tag, commit))
302 self.step.Git("push origin refs/tags/%s:refs/tags/%s" % (tag, tag))
305 self.step.GitCLLand()
329 # Convenience method to allow direct [] access on step classes for
334 # Convenience method to allow direct [] access on step classes for
737 parser.add_argument("-s", "--step",
738 help="Specify the step where to start work. Default: 0.",
751 if options.step < 0: # pragma: no cover
752 print("Bad step number %d" % options.step)
787 if options.step == 0 and os.path.exists(state_file):
796 for step in steps[options.step:]:
797 if step.Run():