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 2020/06/13 15:50:35 UTC

[whimsy] branch master updated: Return status

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 ad53b85  Return status
ad53b85 is described below

commit ad53b851f38fc51c05cb1eca67e2472a38035337
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jun 13 16:50:27 2020 +0100

    Return status
---
 lib/whimsy/asf/svn.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index fdc72d9..fc30956 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -600,7 +600,7 @@ module ASF
         if options[:dryrun]
           # show what would have been committed
           rc = self.svn_('diff', tmpfile || tmpdir, _)
-          return # No point checking for pending changes
+          return rc # No point checking for pending changes
         else
           # commit the changes
           rc = self.svn_('commit', tmpfile || tmpdir, _,
@@ -616,6 +616,7 @@ module ASF
       ensure
         FileUtils.rm_rf tmpdir
       end
+      rc # return last status
     end
 
     # DRAFT DRAFT DRAFT