subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Foad <julianf...@btopenworld.com>
Subject Re: bash completion for arguments to svn info --show-item
Date Fri, 28 Aug 2015 08:38:28 GMT
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

Mime
View raw message