FS#13733 - [subversion] path completion produces whitespaces
Attached to Project:
Arch Linux
Opened by Dieter Plaetinck (Dieter_be) - Tuesday, 10 March 2009, 09:45 GMT
Last edited by Jan de Groot (JGC) - Monday, 08 February 2010, 23:53 GMT
Opened by Dieter Plaetinck (Dieter_be) - Tuesday, 10 March 2009, 09:45 GMT
Last edited by Jan de Groot (JGC) - Monday, 08 February 2010, 23:53 GMT
|
Details
Taken from
https://bugzilla.redhat.com/show_bug.cgi?id=430059
>>>>>>>>>> Description From Tim Niemueller 2008-01-24 05:16:33 EDT Description of problem: Assume you are inside a Subversion working copy. There is a path src/foo/bar.c. There are other files as well in the foo directory, but you only want to commit bar.c. You would type "svn ci src/foo/bar.c". Using the auto-completion, it will be svn ci s<tab> which is then extended to "svn ci src ", note the space at the end? For each path element you then have to do <Backspace> and type a slash and then tab on. What the auto-completion should rather do is work like the completion for ls. After the first expansion it should show "svn ci src/". Version-Release number of selected component (if applicable): bash-completion-20060301-6.fc8 How reproducible: Always Steps to Reproduce: 1. Checkout something via svn 2. Try auto-completion to a path with a "svn ci" prepended Actual results: It completes every directory on the path to the dir name followed by a space. Expected results: Work like ls auto-completion, completing paths to dir/. Additional info: This behaviour actually slows one down instead of going faster. >>>>>>>>>>> I see in ABS that we do quite a few patches already, but nothing to fix this. I also don't know if one of the other bash-completion providers ( |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 08 February 2010, 23:53 GMT
Reason for closing: Fixed
Additional comments about closing: See last comment.
Monday, 08 February 2010, 23:53 GMT
Reason for closing: Fixed
Additional comments about closing: See last comment.
/etc/bash_completion:
replace complete -F _svn $default svn
with complete -F _svn $filenames svn
This seems to work for me, though I haven't checked how clean this fix is yet.
See also:
FS#10208The package is still the same version ( 20060301-9 ) and the issue is still there.
Can anyone else confirm this? I can tab-complete directories while building an svn ci commandline in an svn checkout directory.
probably thanks to
FS#11196