You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/11/29 17:29:49 UTC

[whimsy] branch master updated: Allow for spurious spaces here too

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new d6b70fb  Allow for spurious spaces here too
d6b70fb is described below

commit d6b70fb8697aff17dcf66d11fae826802cf6f1fa
Author: Sebb <se...@apache.org>
AuthorDate: Fri Nov 29 17:29:40 2019 +0000

    Allow for spurious spaces here too
---
 www/status/monitors/svn.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/status/monitors/svn.rb b/www/status/monitors/svn.rb
index b57d101..d6633f9 100644
--- a/www/status/monitors/svn.rb
+++ b/www/status/monitors/svn.rb
@@ -16,7 +16,7 @@ Danger - unexpected text in log file
 require 'fileutils'
 
 # Match revision messages
-REV_RE = %r{^(Checked out|Updated to|At|List updated from \d+ to|List is at) revision \d+\.$}
+REV_RE = %r{^(Checked out|Updated to|At|List updated from \d+ to|List is at) revision \d+\s*\.$}
 
 def Monitor.svn(previous_status)
   logdir = File.expand_path('../../../logs', __FILE__)
@@ -115,7 +115,7 @@ __END__
 
 /srv/svn/cclas
 #!: Updating listing file
-List updated from 0 to revision 93888.
+List updated from 0 to revision 93888  .
 
 /srv/svn/iclas
 #!: Updating listing file