You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Andreas Stieger <an...@gmx.de> on 2015/08/27 22:02:18 UTC

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

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

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

Posted by Julian Foad <ju...@btopenworld.com>.
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