whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Allow for empty git/svn sections
Date Fri, 02 Jun 2017 12:11:42 GMT
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  2472395   Allow for empty git/svn sections
2472395 is described below

commit 2472395b31ed0ab02eea0121ddf047901679c39c
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Jun 2 13:11:40 2017 +0100

    Allow for empty git/svn sections
---
 Rakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Rakefile b/Rakefile
index f83ed8e..7190c96 100644
--- a/Rakefile
+++ b/Rakefile
@@ -73,7 +73,7 @@ namespace :svn do
       Dir.chdir File.dirname(svn) do
         require 'uri'
         base = URI.parse('https://svn.apache.org/repos/')
-        repository[:svn].each do |name, description|
+        (repository[:svn] || {}).each do |name, description|
           puts
           puts File.join(Dir.pwd, name)
           if Dir.exist? name
@@ -99,7 +99,7 @@ namespace :git do
       Dir.chdir File.dirname(git) do
         require 'uri'
         base = URI.parse('git://git.apache.org/')
-        repository[:git].each do |name, description|
+        (repository[:git] || {}).each do |name, description|
           branch = description['branch']
 
           puts

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message