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 74d4c9a9 Allow for --xml
74d4c9a9 is described below
commit 74d4c9a96324ec587637b77059cb7ca5552556ee
Author: Sebb <[email protected]>
AuthorDate: Tue Mar 5 22:22:13 2024 +0000
Allow for --xml
---
lib/whimsy/asf/svn.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 9e9de9a3..ba5cbc27 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -294,7 +294,7 @@ module ASF
end
# These keys are common to svn_ and svn
- VALID_KEYS = %i[user password verbose env dryrun msg depth quiet item
revision]
+ VALID_KEYS = %i[user password verbose env dryrun msg depth quiet item
revision xml]
# common routine to build SVN command line
# returns [cmd, stdin] where stdin is the data for stdin (if any)
@@ -333,6 +333,8 @@ module ASF
cmd << '--quiet' if options[:quiet]
+ cmd << '--xml' if options[:xml]
+
item = options[:item]
cmd += ['--show-item', item] if item