Home | History | Annotate | Download | only in site_utils

Lines Matching full:branch

49             description=('Command to update prod branch for autotest, chromite '
52 help='Skip updating autotest prod branch. Default is False.')
54 help='Skip updating chromite prod branch. Default is False.')
56 help='Update autotest prod branch to the given hash. If it is not'
57 ' specified, autotest prod branch will be rebased to '
58 'prod-next branch, which is the latest commit that has '
75 """Method to clone the prod branch for a given repo under /tmp/ dir.
84 print 'Cloning %s prod branch under %s' % (repo, repo_dir)
89 print 'Successfully cloned %s prod branch' % repo
94 """Method to update the prod branch of the given repo to the given hash.
98 @param hash_to_rebase: Hash to rebase the prod branch to. If it is None,
99 prod branch will rebase to prod-next branch.
105 print 'Updating %s prod branch.' % repo
109 print 'Successfully pushed %s prod branch!\n' % repo
128 @return: the commits that are pushed to prod branch. The format likes this:
178 print 'Fail to clone prod branch. Error:\n%s\n' % e