You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2015/08/28 10:33:18 UTC

svn commit: r1698276 - /subversion/trunk/tools/client-side/bash_completion

Author: julianfoad
Date: Fri Aug 28 08:33:18 2015
New Revision: 1698276

URL: http://svn.apache.org/r1698276
Log:
* tools/client-side/bash_completion
  (_svn): Complete arguments to svn info --show-item.

Patch by: Andreas Stieger <andreas.stieger{_AT_}gmx.de>
(tweaked by me)

Modified:
    subversion/trunk/tools/client-side/bash_completion

Modified: subversion/trunk/tools/client-side/bash_completion
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/client-side/bash_completion?rev=1698276&r1=1698275&r2=1698276&view=diff
==============================================================================
--- subversion/trunk/tools/client-side/bash_completion (original)
+++ subversion/trunk/tools/client-side/bash_completion Fri Aug 28 08:33:18 2015
@@ -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