Bug 2297 - bash completions don't handle defaults of qseries -sv
Summary: bash completions don't handle defaults of qseries -sv
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 13:34 UTC by Joe Drew
Modified: 2012-05-13 04:57 UTC (History)
5 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Drew 2010-07-21 13:34 UTC
In my ~/.hgrc, I've got

[defaults]
qseries = -sv

Whenever I'm completing something that uses qseries internally, like the
completion _hg_cmd_qgoto, all of the other output gets thrown into the
completions (i.e., numbers, "A", the words in the descriptions of the
patches, etc). Also, and this is worse from a usability point of view, the
colons qseries -s appends to the patch names aren't stripped off.
Comment 1 kiilerix 2010-07-21 13:46 UTC
I think that is one of the reasons defaults are deprecated. I doubt we will
do anything to fix that.
Comment 2 Kevin Bullock 2010-07-21 14:13 UTC
What about making bash_completion use HGPLAIN? It seems like a quintessential 
case for it.
Comment 3 brodie 2010-07-21 15:21 UTC
Here's a patch that makes the completion use HGPLAIN: 
http://www.selenic.com/pipermail/mercurial-devel/2010-July/023010.html
Comment 4 HG Bot 2010-07-22 03:00 UTC
Fixed by http://hg.intevation.org/mercurial/crew/rev/91af149b5cd7
(bash/zsh completion: use HGPLAIN when invoking hg (issue2297))
Comment 5 Bugzilla 2012-05-12 09:11 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:11 EDT  ---

This bug was previously known as _bug_ 2297 at http://mercurial.selenic.com/bts/issue2297