Home | History | Annotate | Download | only in common_lib

Lines Matching refs:gitlog

421         gitlog = self.gitcmd(cmd, True)
422 if gitlog.exit_status != 0:
423 logging.error(gitlog.stderr)
424 raise error.CmdError('Failed to find git sha1 revision', gitlog)
426 return gitlog.stdout.strip('\n')
447 gitlog = self.gitcmd(cmd, True)
448 if gitlog.exit_status != 0:
449 logging.error(gitlog.stderr)
450 raise error.CmdError('Failed to checkout git branch', gitlog)
452 logging.info(gitlog.stdout)
472 gitlog = self.gitcmd(cmd, True)
473 if gitlog.exit_status != 0:
474 logging.error(gitlog.stderr)
475 raise error.CmdError('Failed to get git branch', gitlog)
477 return gitlog.stdout.strip('\n')
479 branch = [b[2:] for b in gitlog.stdout.split('\n')