contrib: update tcsh_completion for Mercurial 1.8
Added the following commands: bookmarks debugignore.
Fix the tcsh parse script for the current help text layout.
--- a/contrib/tcsh_completion Tue Mar 01 12:48:31 2011 -0600
+++ b/contrib/tcsh_completion Tue Mar 01 07:28:20 2011 +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 1.5.4+154-8b452fe4bf50)
+# Mercurial Distributed SCM (version 1.7.5+157-8a220ae0b2ba)
#
# Copyright (C) 2005 TK Soh.
#
@@ -30,21 +30,21 @@
--version \
-h --help)/' \
'p/1/(add addremove annotate blame archive \
- backout bisect branch branches bundle \
- cat clone commit ci copy \
- cp debugancestor debugbuilddag debugcheckstate debugcommands \
- debugcomplete debugdag debugdata debugdate debugfsinfo \
- debugindex debugindexdot debuginstall debugpushkey debugrebuildstate \
- debugrename debugrevspec debugsetparents debugstate debugsub \
- debugwalk diff export forget 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 summary \
- sum tag tags tip unbundle \
- update up checkout co verify \
- version)/'
+ backout bisect bookmarks branch branches \
+ bundle cat clone commit ci \
+ copy cp debugancestor debugbuilddag debugcheckstate \
+ debugcommands debugcomplete debugdag debugdata debugdate \
+ debugfsinfo debugignore debugindex debugindexdot debuginstall \
+ debugpushkey debugrebuildstate debugrename debugrevspec debugsetparents \
+ debugstate debugsub debugwalk diff export \
+ forget 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 move mv resolve revert \
+ rollback root serve showconfig debugconfig \
+ status st summary sum tag \
+ tags tip unbundle update up \
+ checkout co verify version)/'
--- a/contrib/tcsh_completion_build.sh Tue Mar 01 12:48:31 2011 -0600
+++ b/contrib/tcsh_completion_build.sh Tue Mar 01 07:28:20 2011 +0100
@@ -38,6 +38,7 @@
hg_commands=`hg --debug help | \
sed -e '1,/^list of commands:/d' \
-e '/^enabled extensions:/,$d' \
+ -e '/^additional help topics:/,$d' \
-e '/^ [^ ]/!d; s/[,:]//g;' | \
xargs -n5 | \
sed -e '$!s/$/ \\\\/g; 2,$s/^ */ /g'`