[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: bash completion for arguments to svn info --show-item

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 28 Aug 2015 09:38:28 +0100

Andreas Stieger wrote:
> 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
> ]]]

Thanks, Andreas. Committed as r1698276.

I noticed it didn't complete all of the possibilities, and traced the
bug to a spurious single-quote at the end of the middle line of these
three:

+ [[ $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"

That caused it to interpret the whole of the last line as a single
completion word (starting with some spaces). I fixed it before
committing.

Thanks.
- Julian
Received on 2015-08-28 10:39:10 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.