Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483688 - app-shells/bash-completion: 'cvs rm -f' doesn't properly autocomplete files
Summary: app-shells/bash-completion: 'cvs rm -f' doesn't properly autocomplete files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-05 09:49 UTC by Michał Górny
Modified: 2017-07-02 22:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-05 09:49:36 UTC
'cvs rm' can be applied to files already removed from workdir only. However, 'cvs rm -f' can be applied to any file in workdir (and it will be removed).

Sadly, bashcomp for 'cvs rm' doesn't support the '-f' switch and therefore autocompletes removed files only. This makes using the bashcomp more painful than beneficial.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-02 22:28:49 UTC
This one seems to be fixed upstream.


commit 9852597d8c19567ee1e01c03a297692d9c1cd764
Author: Ville Skyttä <ville.skytta@iki.fi>
Date:   Mon Apr 8 21:53:37 2013

    cvs rm: Don't filter existing files with -f (RedHat: #949479).
    
    Thanks-to: Hans de Goede <hdegoede@redhat.com>