Index: trunk/tools/testswarm/scripts/testswarm-mw-fetcher.php |
— | — | @@ -226,7 +226,11 @@ |
227 | 227 | $this->debug( 'Checkouts dir empty? Looking up remote repo...', __METHOD__ ); |
228 | 228 | $next = $this->minRev; |
229 | 229 | } else { |
230 | | - $next = $this->getNextFollowingRevId( $cur ); |
| 230 | + try { |
| 231 | + $next = $this->getNextFollowingRevId( $cur ); |
| 232 | + } catch ( Exception $e ) { |
| 233 | + $next = null; |
| 234 | + } |
231 | 235 | } |
232 | 236 | return $next; |
233 | 237 | } |