This is an archive of the discontinued Mercurial Phabricator instance.

zsh_completion: rename _hg_style_opts to _hg_template_opts
ClosedPublic

Authored by av6 on Aug 10 2018, 11:51 PM.

Details

Summary

--style is a deprecated alias for --template, and doesn't show up in help
without --verbose, so completing it doesn't make much sense.

Let's s/style/template/ this variable to be more consistent with cmdutil.py,
which is helpful to look at in parallel next time someone wants to update the
completion rules.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

av6 created this revision.Aug 10 2018, 11:51 PM
spectral accepted this revision.Aug 13 2018, 2:30 PM
spectral added a subscriber: spectral.

(Like the description says, this hides --style in tab completion. I think this is an improvement).

This revision was automatically updated to reflect the committed changes.