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 2b539092 No longer used
2b539092 is described below
commit 2b539092ae4ae8c4963a72b56dbedb98e9788da5
Author: Sebb <[email protected]>
AuthorDate: Wed May 18 22:54:51 2022 +0100
No longer used
---
www/secretary/workbench/tasks.rb | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
diff --git a/www/secretary/workbench/tasks.rb b/www/secretary/workbench/tasks.rb
index 3b3e18e5..dc5172ac 100644
--- a/www/secretary/workbench/tasks.rb
+++ b/www/secretary/workbench/tasks.rb
@@ -58,25 +58,11 @@ class Wunderbar::JsonBuilder
super
end
- def svn *args
- args << svnauth if env.password and %(checkout update
commit).include?(args.first)
- _.system! 'svn', *args
- end
-
- # alternate version using library method
+ # invoke svn using library method
# assumes correct ordering of parameters
- def svn!(command,path,options={})
+ def svn!(command, path, options={})
options[:env] = env if env.password and %(checkout update
commit).include?(command)
- ASF::SVN.svn_!(command,path,_,options)
- end
-
- def svnauth
- [
- '--non-interactive',
- '--no-auth-cache',
- '--username', env.user,
- '--password', env.password
- ]
+ ASF::SVN.svn_!(command, path, _, options)
end
# Commit new file(s) and update associated index