[Python-apps-team] Bug#802923: mercurial-common: Rename of bash-completion file broke completion autoloading mechanism.
Javi Merino
vicho at debian.org
Tue Nov 3 08:24:50 UTC 2015
Hi Oleksandr,
On Sun, Oct 25, 2015 at 09:38:07AM +0200, Oleksandr Gavenko wrote:
> Package: mercurial-common
> Version: 3.5.2-1
> Severity: normal
> New version move
>
> /usr/share/bash-completion/completions/hg
>
> to:
>
> /usr/share/bash-completion/completions/mercurial
>
> Newer bash-completion project moved to autoloading on demand schema with
> "completion -D" trick.
>
> This means that completion file only loaded during first time pressing TAB on
> "hg ... TAB" expression in interactive session.
>
> As for now we have no "hg" completion it wasn't loaded. As a trick I type:
>
> $ mercurial cloTAB
>
> and:
>
> complete -o bashdefault -o default -o nospace -F _hg hg \
> || complete -o default -o nospace -F _hg hg
>
> from /usr/share/bash-completion/completions/mercurial, loaded and starting
> from that time I able to use completion for hg.
>
> I don't understand reason for such renames even if look to
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799052
Isn't this the same as https://bugs.debian.org/801079 ?
reportbug says that you're still using 3.5.2-1, is this fixed in 3.5.2-2?
Cheers,
Javi
More information about the Python-apps-team
mailing list