Updated Branches:
refs/heads/trunk d03077886 -> b61d147fd
KAFKA-1094 Configure reviewboard url in kafka-patch-review tool; reviewed by Neha Narkhede
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/b61d147f
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/b61d147f
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/b61d147f
Branch: refs/heads/trunk
Commit: b61d147fd0774370a41d2a6cadcbfd30c7703a34
Parents: d030778
Author: Swapnil Ghike <sghike@linkedin.com>
Authored: Sat Oct 19 16:37:50 2013 -0700
Committer: Neha Narkhede <neha.narkhede@gmail.com>
Committed: Sat Oct 19 16:38:07 2013 -0700
----------------------------------------------------------------------
kafka-patch-review.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/b61d147f/kafka-patch-review.py
----------------------------------------------------------------------
diff --git a/kafka-patch-review.py b/kafka-patch-review.py
index ab8787a..daf2c35 100644
--- a/kafka-patch-review.py
+++ b/kafka-patch-review.py
@@ -36,7 +36,12 @@ def main():
ts = time.time()
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)
|