view contrib/tcsh_completion @ 5884:a139f141dcae

keyword: support mq; handle (q)record more gracefully mq: Ensure that expanded keywords do not make it into patches. - disable expansion when reading filelog - shrink expanded keywords when reading from working dir (wread) (q)record: Avoid additional hunks due to expanded keywords. However this is still a compromise, as keyword expansions are not updated in working directory because record should not overwrite files. Mention above shortcomings and "hg kwexpand" workaround in help and update test output. system argument parsing: Command detection might be slightly more expensive with dispatch._parse, but we will need this for improving "hg diff" output.
author Christian Ebert <blacktrash@gmx.net>
date Tue, 15 Jan 2008 13:58:22 +0100
parents 2073e5a71008
children 2b2548342265
line wrap: on
line source

#
# tcsh completion for Mercurial
#
# This file has been auto-generated by tcsh_completion_build.sh for
# Mercurial Distributed SCM (version 325c07fd2ebd)
#
# Copyright (C) 2005 TK Soh.
#
# This is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#

complete hg \
  'n/--cwd/d/' 'n/-R/d/' 'n/--repository/d/' \
  'C/-/( -R --repository \
    --cwd \
    -y --noninteractive \
    -q --quiet \
    -v --verbose \
    --debug \
    --debugger \
    --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)/'