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 59c50b7 Error check needed
59c50b7 is described below
commit 59c50b71429907c86b58a335b0977579b86195b8
Author: Sebb <[email protected]>
AuthorDate: Wed Jul 8 00:06:40 2020 +0100
Error check needed
---
lib/whimsy/asf/svn.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 9a78e33..476b7cf 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -748,6 +748,8 @@ module ASF
throw RuntimeError.new("#{filename} already exists! #{err}")
end
commands = [['put', source, target]]
+ # TODO: detect file created in parallel. This generates the error
message:
+ # svnmucc: E160020: File already exists: <snip> path 'xxx'
self.svnmucc_(commands, msg, env, _, parentrev)
end