Repository: mesos Updated Branches: refs/heads/master 4dd48490d -> 80437f386
Moved the repository url constant to reviewboardrc. Review: https://reviews.apache.org/r/34483 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1af08abc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1af08abc Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1af08abc Branch: refs/heads/master Commit: 1af08abc0a9a250fc6d0db5ac3e1195365f8dce4 Parents: 4dd4849 Author: Jie Yu <[email protected]> Authored: Wed May 20 11:03:25 2015 -0700 Committer: Jie Yu <[email protected]> Committed: Wed May 20 17:09:00 2015 -0700 ---------------------------------------------------------------------- support/post-reviews.py | 5 +---- support/reviewboardrc | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/1af08abc/support/post-reviews.py ---------------------------------------------------------------------- diff --git a/support/post-reviews.py b/support/post-reviews.py index e871ceb..ec385a5 100755 --- a/support/post-reviews.py +++ b/support/post-reviews.py @@ -85,8 +85,6 @@ if diff_stat: top_level_dir = execute(['git', 'rev-parse', '--show-toplevel']).strip() -repository = 'git://git.apache.org/mesos.git' - parent_branch = 'master' branch_ref = execute(['git', 'symbolic-ref', 'HEAD']).strip() @@ -190,8 +188,7 @@ for i in range(len(shas)): revision_range = previous + ':' + sha # Build the post-review/rbt command up to the point where they are common. - command = post_review + ['--repository-url=' + repository, - '--tracking-branch=' + parent_branch] + command = post_review + ['--tracking-branch=' + parent_branch] if review_request_id: command = command + ['--review-request-id=' + review_request_id] http://git-wip-us.apache.org/repos/asf/mesos/blob/1af08abc/support/reviewboardrc ---------------------------------------------------------------------- diff --git a/support/reviewboardrc b/support/reviewboardrc index 3cba12c..56bd8a5 100644 --- a/support/reviewboardrc +++ b/support/reviewboardrc @@ -1,3 +1,4 @@ REVIEWBOARD_URL = "https://reviews.apache.org/" -TARGET_GROUPS = "mesos" +REPOSITORY_URL = "git://git.apache.org/mesos.git" REPOSITORY = "mesos" +TARGET_GROUPS = "mesos"
