D4266: zsh_completion: run hg with HGPLAINEXCEPT=alias to list commands

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Mon Aug 20 15:19:45 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf625e457f43a: zsh_completion: run hg with HGPLAINEXCEPT=alias to list commands (authored by av6, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4266?vs=10332&id=10469

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

AFFECTED FILES
  contrib/zsh_completion

CHANGE DETAILS

diff --git a/contrib/zsh_completion b/contrib/zsh_completion
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -139,7 +139,7 @@
   typeset -gA _hg_alias_list
   local hline cmd cmdalias
 
-  _call_program hg hg debugcomplete -v | while read -A hline
+  _call_program hg HGPLAINEXCEPT=alias hg debugcomplete -v | while read -A hline
   do
     cmd=$hline[1]
     _hg_cmd_list+=($cmd)



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


More information about the Mercurial-devel mailing list