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 b816c827 Ensure the existence check always runs
b816c827 is described below
commit b816c827e44153eb594c948685b40df528b2264c
Author: Sebb <[email protected]>
AuthorDate: Mon Apr 17 13:17:32 2023 +0100
Ensure the existence check always runs
---
lib/whimsy/asf/svn.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 03b1f296..a74f8dc1 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -800,7 +800,7 @@ module ASF
throw RuntimeError.new("Failed to get revision for #{directory}:
#{err}")
end
target = File.join(directory, filename)
- return 1 if self.exist?(target, parentrev, env, options)
+ return 1 if self.exist?(target, parentrev, env, options.reject {|k,v| k
== :dryrun}) # need this to run!
rc = nil
Dir.mktmpdir do |tmpdir|
source = Tempfile.new('create_source', tmpdir)