diff contrib/zsh_completion @ 11646:91af149b5cd7 stable

bash/zsh completion: use HGPLAIN when invoking hg (issue2297)
author Brodie Rao <brodie@bitheap.org>
date Wed, 21 Jul 2010 17:06:00 -0400
parents 64a6a896e5fb
children 46039b2af349
line wrap: on
line diff
--- a/contrib/zsh_completion	Thu Jul 22 14:30:27 2010 +0900
+++ b/contrib/zsh_completion	Wed Jul 21 17:06:00 2010 -0400
@@ -377,8 +377,7 @@
   '--remotecmd[specify hg command to run on the remote side]:')
 
 _hg_cmd() {
-  _call_program hg hg --config ui.verbose=0 --config defaults."$1"= \
-    "$_hg_cmd_globals[@]" "$@" 2> /dev/null
+  _call_program hg HGPLAIN=1 hg "$_hg_cmd_globals[@]" "$@" 2> /dev/null
 }
 
 _hg_cmd_add() {