comparison contrib/tcsh_completion_build.sh @ 13515:2616325766e3 stable 1.8

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.
author Gilles Moris <gilles.moris@free.fr>
date Tue, 01 Mar 2011 07:28:20 +0100
parents 2b2548342265
children
comparison
equal deleted inserted replaced
13514:9734e94f9563 13515:2616325766e3
36 tcsh_file=${1-tcsh_completion} 36 tcsh_file=${1-tcsh_completion}
37 37
38 hg_commands=`hg --debug help | \ 38 hg_commands=`hg --debug help | \
39 sed -e '1,/^list of commands:/d' \ 39 sed -e '1,/^list of commands:/d' \
40 -e '/^enabled extensions:/,$d' \ 40 -e '/^enabled extensions:/,$d' \
41 -e '/^additional help topics:/,$d' \
41 -e '/^ [^ ]/!d; s/[,:]//g;' | \ 42 -e '/^ [^ ]/!d; s/[,:]//g;' | \
42 xargs -n5 | \ 43 xargs -n5 | \
43 sed -e '$!s/$/ \\\\/g; 2,$s/^ */ /g'` 44 sed -e '$!s/$/ \\\\/g; 2,$s/^ */ /g'`
44 45
45 hg_global_options=`hg -v help | \ 46 hg_global_options=`hg -v help | \