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 2017/05/31 23:37:16 UTC
[whimsy] branch master updated: Quick fail rather than waiting for
spawn to complain
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 694d403 Quick fail rather than waiting for spawn to complain
694d403 is described below
commit 694d403534a0a06499fa09046f770ff90e960995
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jun 1 00:36:02 2017 +0100
Quick fail rather than waiting for spawn to complain
---
lib/whimsy/asf/svn.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 7bf6c0f..6811a3e 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -66,6 +66,7 @@ module ASF
# retrieve info, [err] for a path in svn
def self.getInfo(path, user=nil, password=nil)
+ return nil, 'path must not be nil' unless path
# build svn info command
cmd = ['svn', 'info', path, '--non-interactive']
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].