[PATCH] completion: add a debuglabelcomplete command

Pierre-Yves David pierre-yves.david at logilab.fr
Mon Apr 8 07:59:52 CDT 2013


On Mon, Apr 08, 2013 at 04:33:05PM +0400, Nikolaj Sjujskij wrote:
> Den 2013-03-21 20:28:58 skrev Bryan O'Sullivan <bos at serpentine.com>:
> 
> ># HG changeset patch
> ># User Bryan O'Sullivan <bryano at fb.com>
> ># Date 1363883331 25200
> ># Node ID 9335c605b08ae8c5327711ddf47a42e8f729211d
> ># Parent  fff3a811451082b9f47909c38e7c6d3b15177b34
> >completion: add a debuglabelcomplete command
> >
> >When completing a "label" (a symbolic name for a commit), the
> >bash_completion script currently has to invoke hg three times. For
> >a large repository, the cost of starting up and loading all the
> >necessary context over and over is very high.
>  Works weirdly here on Gentoo Linux (confirmed by marmoute on Debian
> Wheezy), on own mercurial repo:
> 
>  [☿:default] mercurial % hg debuglabelcomplete s
> 
>  [☿:default] mercurial %
> 
> There should be 'stable' printed, ain't it? :)

stable reappear with --hidden here. Sound like something is wrong in the
debuglabelcomplete code

-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130408/11244683/attachment.pgp>


More information about the Mercurial-devel mailing list