Repository: mesos
Updated Branches:
  refs/heads/master efce2bc53 -> 136def36b


Update post-reviews to support >= 0.6

Review: https://reviews.apache.org/r/30289


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/136def36
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/136def36
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/136def36

Branch: refs/heads/master
Commit: 136def36b9df94199175a24b24533e71064fa882
Parents: efce2bc
Author: Dominic Hamon <[email protected]>
Authored: Mon Jan 26 14:39:27 2015 -0800
Committer: Dominic Hamon <[email protected]>
Committed: Mon Jan 26 15:48:52 2015 -0800

----------------------------------------------------------------------
 support/post-reviews.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/136def36/support/post-reviews.py
----------------------------------------------------------------------
diff --git a/support/post-reviews.py b/support/post-reviews.py
index c759799..2b6c479 100755
--- a/support/post-reviews.py
+++ b/support/post-reviews.py
@@ -192,7 +192,7 @@ for i in range(len(shas)):
         command = command + ['--review-request-id=' + review_request_id]
 
     # Determine how to specify the revision range.
-    if 'rbt' in post_review and rbt_version.startswith('RBTools 0.6'):
+    if 'rbt' in post_review and not rbt_version.startswith('RBTools 0.5'):
         # rbt >= 0.6 revisions are passed in as args.
         command = command + sys.argv[1:] + [previous, sha]
     else:

Reply via email to