KAFKA-1094 Configure reviewboard url in kafka-patch-review tool; reviewed by Neha Narkhede

This commit is contained in:
Swapnil Ghike 2013-10-19 16:37:50 -07:00 committed by Neha Narkhede
parent d030778861
commit b61d147fd0
1 changed files with 6 additions and 1 deletions

View File

@ -37,6 +37,11 @@ def main():
st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d_%H:%M:%S')
patch_file=tempfile.gettempdir() + "/" + opt.jira + '_' + st + '.patch'
git_configure_reviewboard="git config reviewboard.url https://reviews.apache.org"
print "Configuring reviewboard url to https://reviews.apache.org"
p=os.popen(git_configure_reviewboard)
p.close()
git_remote_update="git remote update"
print "Updating your remote branches to pull the latest changes"
p=os.popen(git_remote_update)