[PATCH] contrib: update tcsh_completion for Mercurial 1.8

Gilles Moris gilles.moris at free.fr
Tue Mar 1 00:34:44 CST 2011


# HG changeset patch
# User Gilles Moris <gilles.moris at free.fr>
# Date 1298960900 -3600
# Branch stable
# Node ID db667c3fe65aaf888c7de428e30386b4eed806ef
# Parent  9b617c56eb651a7f9d19290b0918f4982871298b
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.

diff -r 9b617c56eb65 -r db667c3fe65a contrib/tcsh_completion
--- a/contrib/tcsh_completion	Mon Feb 28 15:46:48 2011 +0100
+++ 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)/'
 
diff -r 9b617c56eb65 -r db667c3fe65a contrib/tcsh_completion_build.sh
--- a/contrib/tcsh_completion_build.sh	Mon Feb 28 15:46:48 2011 +0100
+++ 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'`


More information about the Mercurial-devel mailing list