Yet another WKR build fix. Sorry for the mess. It seems like I can't win today :(
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 26 May 2013 23:23:10 +0000 (23:23 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 26 May 2013 23:23:10 +0000 (23:23 +0000)
* Scripts/webkitpy/tool/commands/newcommitbot.py:
(NewCommitBot.next_work_item):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/tool/commands/newcommitbot.py

index 72d8c27eb4270ec9723a58bed8318ef5bab3530c..5eaa746f7c4a9d6d2bb1425a8b3165ef914a4e9e 100644 (file)
@@ -1,3 +1,10 @@
+2013-05-26  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Yet another WKR build fix. Sorry for the mess. It seems like I can't win today :(
+
+        * Scripts/webkitpy/tool/commands/newcommitbot.py:
+        (NewCommitBot.next_work_item):
+
 2013-05-26  Ryosuke Niwa  <rniwa@webkit.org>
 
         WKR and webkitbot build fixes.
 2013-05-26  Ryosuke Niwa  <rniwa@webkit.org>
 
         WKR and webkitbot build fixes.
index c0bb6fdddd7bde4ceca8c1ac4ec924684380e52f..95857615874b9e6d3290a5c6a97df6f99ee117a6 100644 (file)
@@ -90,10 +90,7 @@ class NewCommitBot(AbstractQueue, StepSequenceErrorHandler):
                 commit_log = self._tool.executive.run_command(['svn', 'log', 'https://svn.webkit.org/repository/webkit/trunk', '--non-interactive', '--revision',
                     self._tool.scm().strip_r_from_svn_revision(new_revision)])
             except ScriptError:
                 commit_log = self._tool.executive.run_command(['svn', 'log', 'https://svn.webkit.org/repository/webkit/trunk', '--non-interactive', '--revision',
                     self._tool.scm().strip_r_from_svn_revision(new_revision)])
             except ScriptError:
-                continue
-
-            if commit_log.find('No such revision') >= 0:
-                continue
+                break
 
             self._last_svn_revision = new_revision
             if self._is_empty_log(commit_log):
 
             self._last_svn_revision = new_revision
             if self._is_empty_log(commit_log):