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 3db0815f Proxy role needs a wrapper
3db0815f is described below

commit 3db0815fd0480159d77ae2f865ee49dfd4699689
Author: Sebb <[email protected]>
AuthorDate: Thu Mar 28 16:38:03 2024 +0000

    Proxy role needs a wrapper
---
 lib/whimsy/asf/svn.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index de211b31..dea083c8 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -350,6 +350,9 @@ module ASF
         password = options[:password]
         user = options[:user]
       end
+      if user == 'whimsysvn'
+        cmd[0] = 'whimsysvn' # need wrapper for SVN proxy role
+      end
       unless options[:dryrun] # don't add auth for dryrun
         if password or user == 'whimsysvn' # whimsysvn user does not require 
password
           cmd << ['--username', user, '--no-auth-cache']

Reply via email to