Christian Ferbar <chris@qnipp.com>


Patch
r1701494

r1701494 | julianfoad | 2015-09-06 14:53:25 +0000 (Sun, 06 Sep 2015)

In 'bash_completion' implement much better URL completion.

See the dev@ email thread "bash_completion - subversion add: svn ls/merge
^/<remote path>", started by Christian Ferbar on 2015-08-12, archived at
e.g. <http://svn.haxx.se/dev/archive-2015-08/0076.shtml> or
<http://mail-archives.apache.org/mod_mbox/subversion-dev/201508.mbox/%3C3421020.HomHkagcjs@chris-ws%3E>.

Patch by: Christian Ferbar <chris{_AT_}qnipp.com>
(tweaked by me: removed a change in handling the SVN_BASH_COMPL_EXT env var)

* tools/client-side/bash_completion
  (_svn_lls): Add a comment noting brokenness.
  (_svn_complete_target): New.
  (_svn): Use _svn_complete_target() to complete URLs for merge, mergeinfo,
    checkout, list. Add a comment noting brokenness.