D4362: zsh_completion: complete merge tools for -t/--tool

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Thu Aug 30 01:01:54 EDT 2018


av6 added inline comments.

INLINE COMMENTS

> spectral wrote in zsh_completion:292
> I'm slightly concerned this might give a false impression of what's available, listing things that I don't have installed, but I think this might be the best we can do at the moment - there doesn't appear to be a way to convince filemerge.py's _picktool to dump a list of them.

zsh will uniquify this, yes.

This seems to be the best way to do it so far, but maybe there needs to be a debugmergetool command or something. This is, by the way, a port of fish-shell's way to get the list of merge tools.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D4362

To: av6, #hg-reviewers, spectral
Cc: spectral, mercurial-devel


More information about the Mercurial-devel mailing list