Update tcsh completion scripts with new commands and for new help output.
Also make the build script executable.
--- a/contrib/tcsh_completion Sun Feb 08 08:44:33 2009 +0100
+++ b/contrib/tcsh_completion Sun Feb 08 15:58:39 2009 +0100
@@ -2,7 +2,7 @@
# tcsh completion for Mercurial
#
# This file has been auto-generated by tcsh_completion_build.sh for
-# Mercurial Distributed SCM (version 325c07fd2ebd)
+# Mercurial Distributed SCM (version 1.1.2)
#
# Copyright (C) 2005 TK Soh.
#
@@ -19,24 +19,31 @@
-y --noninteractive \
-q --quiet \
-v --verbose \
+ --config \
--debug \
--debugger \
+ --encoding \
+ --encodingmode \
+ --lsprof \
--traceback \
--time \
--profile \
--version \
-h --help)/' \
- 'p/1/(add addremove annotate bundle cat \
- clone commit ci copy cp \
- debugancestor debugcheckstate debugconfig debugdata debugindex \
- debugindexdot debugrename debugstate debugwalk diff \
- export forget grep heads help \
- identify id import patch incoming \
- in init locate log history \
- manifest outgoing out parents paths \
- pull push rawcommit recover remove \
- rm rename mv revert root \
- serve status tag tags tip \
- unbundle undo update up checkout \
- co verify version)/'
+ 'p/1/(add addremove annotate blame archive \
+ backout bisect branch branches bundle \
+ cat clone commit ci copy \
+ cp debugancestor debugcheckstate debugcomplete debugdata \
+ debugdate debugfsinfo debugindex debugindexdot debuginstall \
+ debugrawcommit rawcommit debugrebuildstate debugrename debugsetparents \
+ debugstate debugwalk diff export grep \
+ heads help identify id import \
+ patch incoming in init locate \
+ log history manifest merge outgoing \
+ out parents paths pull push \
+ recover remove rm rename mv \
+ resolve revert rollback root serve \
+ showconfig debugconfig status st tag \
+ tags tip unbundle update up \
+ checkout co verify version)/'
--- a/contrib/tcsh_completion_build.sh Sun Feb 08 08:44:33 2009 +0100
+++ b/contrib/tcsh_completion_build.sh Sun Feb 08 15:58:39 2009 +0100
@@ -37,7 +37,7 @@
hg_commands=`hg --debug help | \
sed -e '1,/^list of commands:/d' \
- -e '/^global options:/,$d' \
+ -e '/^enabled extensions:/,$d' \
-e '/^ [^ ]/!d; s/[,:]//g;' | \
xargs -n5 | \
sed -e '$!s/$/ \\\\/g; 2,$s/^ */ /g'`