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 e41c4c3  No point using svn st if dryrunning
e41c4c3 is described below

commit e41c4c3d999a5aaed9c6aa5f1218c9e7dd2f53ae
Author: Sebb <[email protected]>
AuthorDate: Sun Jun 7 17:58:06 2020 +0100

    No point using svn st if dryrunning
---
 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 81e6299..e85a2d7 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -544,6 +544,7 @@ module ASF
         if options[:dryrun]
           # show what would have been committed
           rc = _.system ['svn', 'diff', tmpfile]
+          return # No point checking for pending changes
         else
           # commit the changes
           rc = _.system ['svn', 'commit', tmpfile || tmpdir, 
'--non-interactive',

Reply via email to