[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
abarth at webkit.org
abarth at webkit.org
Wed Dec 22 13:50:45 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit e79ee357ca87cc2f2de0d3ff54a5eb70354392ba
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Sep 28 04:45:22 2010 +0000
2010-09-27 Adam Barth <abarth at webkit.org>
Reviewed by Eric Seidel.
commit-queue should reject patches that fail to land
https://bugs.webkit.org/show_bug.cgi?id=46694
This can happen, for example, if there's no reviewer. Without this
patch, we'll keep retrying the patch.
* Scripts/webkitpy/tool/bot/commitqueuetask.py:
* Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 603ae08..db441cf 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,16 @@
+2010-09-27 Adam Barth <abarth at webkit.org>
+
+ Reviewed by Eric Seidel.
+
+ commit-queue should reject patches that fail to land
+ https://bugs.webkit.org/show_bug.cgi?id=46694
+
+ This can happen, for example, if there's no reviewer. Without this
+ patch, we'll keep retrying the patch.
+
+ * Scripts/webkitpy/tool/bot/commitqueuetask.py:
+ * Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
+
2010-09-27 Simon Fraser <simon.fraser at apple.com>
Rubber-stamped by Adele Peterson.
diff --git a/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask.py b/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask.py
index 5039885..a347972 100644
--- a/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask.py
+++ b/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask.py
@@ -153,4 +153,6 @@ class CommitQueueTask(object):
# no one has set commit-queue- since we started working on the patch.)
if not self._validate():
return False
- return self._land()
+ if not self._land():
+ raise self._script_error
+ return True
diff --git a/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py b/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py
index 6b75da4..8b46146 100644
--- a/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py
+++ b/WebKitTools/Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py
@@ -191,4 +191,4 @@ command_passed: success_message='Passed tests' patch='197'
run_webkit_patch: ['land-attachment', '--force-clean', '--ignore-builders', '--quiet', '--non-interactive', '--parent-command=commit-queue', 197]
command_failed: failure_message='Unable to land patch' script_error='MOCK land failure' patch='197'
"""
- self._run_through_task(commit_queue, expected_stderr)
+ self._run_through_task(commit_queue, expected_stderr, ScriptError)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list