[PATCH] completion: add a debuglabelcomplete command

Nikolaj Sjujskij sterkrig at myopera.com
Mon Apr 8 07:33:05 CDT 2013

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? :)

More information about the Mercurial-devel mailing list