[PATCH 1 of 1] Update tcsh completion scripts with new commands and for new help output

Gilles Moris gilles.moris at free.fr
Sun Feb 8 09:04:09 CST 2009


2 files changed, 22 insertions(+), 15 deletions(-)
contrib/tcsh_completion          |   35 +++++++++++++++++++++--------------
contrib/tcsh_completion_build.sh |    2 +-


# HG changeset patch
# User Gilles Moris <gilles.moris at free.fr>
# Date 1234105119 -3600
# Node ID 389170c9398ad766a89fe2876450fa8b7399f55b
# Parent  18fae96a2427d8f5fe29679a0f73102f1b416889
Update tcsh completion scripts with new commands and for new help output.

Also make the build script executable.

diff --git a/contrib/tcsh_completion b/contrib/tcsh_completion
--- a/contrib/tcsh_completion
+++ b/contrib/tcsh_completion
@@ -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)/'
 
diff --git a/contrib/tcsh_completion_build.sh b/contrib/tcsh_completion_build.sh
old mode 100644
new mode 100755
--- a/contrib/tcsh_completion_build.sh
+++ b/contrib/tcsh_completion_build.sh
@@ -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'`


More information about the Mercurial-devel mailing list