[PATCH] Update tcsh completion scripts

Gilles Moris gilles.moris at free.fr
Sat Feb 7 13:19:32 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 1234034237 -3600
# Node ID 81384c63ae93f7bccafbdf320805cc3a5a068096
# Parent  18fae96a2427d8f5fe29679a0f73102f1b416889
Update tcsh completion scripts with new commands and for new help output.

Also make the build script executable.

diff -r 18fae96a2427 -r 81384c63ae93 contrib/tcsh_completion
--- a/contrib/tcsh_completion	Sat Feb 07 19:41:05 2009 +0100
+++ b/contrib/tcsh_completion	Sat Feb 07 20:17:17 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 llog \
+    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 -r 18fae96a2427 -r 81384c63ae93 contrib/tcsh_completion_build.sh
--- a/contrib/tcsh_completion_build.sh	Sat Feb 07 19:41:05 2009 +0100
+++ b/contrib/tcsh_completion_build.sh	Sat Feb 07 20:17:17 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'`


More information about the Mercurial-devel mailing list