[PATCH 2 of 2] bash_completion: diff: recognize the --output option

Kevin Bullock kbullock+mercurial at ringworld.org
Sat Jun 29 17:16:01 CDT 2013


On 28 Jun 2013, at 4:38 PM, Ahmed S. Darwish wrote:

> Hi,
> 
> [ More accurate commit log ]

Please flag your re-sends with V2, V3, etc. as you send successive versions. This helps us keep track of which version is current without having to consult the e-mail headers of each one.

> On Sat, Jun 29, 2013, Nikolaj Sjujskij wrote:
>> Den 2013-06-29 00:13:31 skrev Ahmed S. Darwish <darwish.07 at gmail.com>:
>> 
>>> ...
>>> # Parent  3466620d7f96769c469f7e42b08f1ca3d53feb86
>>> completion: recognize the --output option
>> It's *bash*_completion.
>> 
> 
> # HG changeset patch
> # User Ahmed S. Darwish <darwish.07 at gmail.com>
> # Date 1372455074 -7200
> # Node ID af588dca01e19a5ce367bdec663e561ad89080bf
> # Parent  af3661f6c703d11dea0b490818f33826403e6d21
> bash_completion: diff: recognize the --output option
> 
> `diff --output <TAB>' now only lists the repository untracked files.

What if I've set my .diff or .patch files to be ignored?

We probably want to fall back to bash's normal filename completion here instead, no?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list