Hello,

follow up to
http://colabti.org/irclogger/irclogger_log/svn-dev?date=2015-08-27#l30

[[[
* tools/client-side/bash_completion
  (_svn): Complete arguments to svn info --show-item
]]]

Andreas
Index: tools/client-side/bash_completion
===================================================================
--- tools/client-side/bash_completion	(revision 1698219)
+++ tools/client-side/bash_completion	(working copy)
@@ -183,6 +183,7 @@ _svn()
 	optsParam="$optsParam|--native-eol|-l|--limit|-c|--change"
 	optsParam="$optsParam|--depth|--set-depth|--with-revprop"
 	optsParam="$optsParam|--cl|--changelist|--accept|--show-revs"
+	optsParam="$optsParam|--show-item"
 
 	# svn:* and other (env SVN_BASH_*_PROPS) properties
 	local svnProps revProps allProps psCmds propCmds
@@ -504,6 +505,10 @@ _svn()
 
 	    [[ $previous = '--show-revs' ]] && values='merged eligible'
 
+	    [[ $previous = '--show-item' ]] && values="kind url relative-url \
+	      repos-root-url repos-uuid revision last-changed-revision ' \
+	      last-changed-date last-changed-author wc-root"
+
 	    if [[ $previous = '--username' ]] ; then
 	      values="$SVN_BASH_USERNAME"
 	      if [[ $SVN_BASH_COMPL_EXT == *username* ]] ; then

Reply via email to