view contrib/tcsh_completion @ 1205:4003ea658693

Write out hgrc properly. Previously, we simply appended to the hgrc file, which meant that it ended up containing multiple "paths" sections. Now, we only modify "paths.default".
author Bryan O'Sullivan <bos@serpentine.com>
date Sun, 04 Sep 2005 15:47:59 -0700
parents 4650ec7ef690
children be4a14bfaa9c
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 a33a7a543803) 
#
# 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 \
    --traceback \
    --time \
    --profile \
    --version \
    -h --help)/' \
  'p/1/(add addremove annotate cat clone \
    commit ci copy 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 revert root \
    serve status tag tags tip \
    undo update up checkout co \
    verify version)/'