contrib/tcsh_completion
author Patrick Mezard <pmezard@gmail.com>
Wed, 11 Nov 2009 18:31:42 +0100
changeset 9827 4fe9ca519637
parent 9638 8f8f9685ac5e
child 11445 4061205ad9e1
permissions -rw-r--r--
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127) Previous code was computing hunks then checking if these hunks could be ignored when taking whitespace/blank-lines options in accounts. This approach is simple but fails with hunks containing both whitespace and non-whitespace changes, the whole hunk is emitted while it can be mostly made of whitespace. The new version normalize the whitespaces before hunk generation, and test for blank-lines afterwards.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1156
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     1
#
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     2
# tcsh completion for Mercurial
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     3
#
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     4
# This file has been auto-generated by tcsh_completion_build.sh for
9638
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
     5
# Mercurial Distributed SCM (version 1.3.1+269-5d8125bbbbf4)
1156
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     6
#
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     7
# Copyright (C) 2005 TK Soh.
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     8
#
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
     9
# This is free software; you can redistribute it and/or modify it under
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    10
# the terms of the GNU General Public License as published by the Free
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    11
# Software Foundation; either version 2 of the License, or (at your
1308
2073e5a71008 Cleanup of tabs and trailing spaces.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1264
diff changeset
    12
# option) any later version.
1156
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    13
#
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    14
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    15
complete hg \
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    16
  'n/--cwd/d/' 'n/-R/d/' 'n/--repository/d/' \
1158
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    17
  'C/-/( -R --repository \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    18
    --cwd \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    19
    -y --noninteractive \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    20
    -q --quiet \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    21
    -v --verbose \
7766
2b2548342265 Update tcsh completion scripts with new commands and for new help output.
Gilles Moris <gilles.moris@free.fr>
parents: 1308
diff changeset
    22
    --config \
1158
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    23
    --debug \
1264
be4a14bfaa9c Generated new tcsh_completion with tcsh_completion_build.sh
Thomas Arendsen Hein <thomas@intevation.de>
parents: 1158
diff changeset
    24
    --debugger \
7766
2b2548342265 Update tcsh completion scripts with new commands and for new help output.
Gilles Moris <gilles.moris@free.fr>
parents: 1308
diff changeset
    25
    --encoding \
2b2548342265 Update tcsh completion scripts with new commands and for new help output.
Gilles Moris <gilles.moris@free.fr>
parents: 1308
diff changeset
    26
    --encodingmode \
1158
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    27
    --traceback \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    28
    --time \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    29
    --profile \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    30
    --version \
4650ec7ef690 Regenerate tcsh_completion after bugfix in generator script
TK Soh <tksoh@freescale.com>
parents: 1156
diff changeset
    31
    -h --help)/' \
7766
2b2548342265 Update tcsh completion scripts with new commands and for new help output.
Gilles Moris <gilles.moris@free.fr>
parents: 1308
diff changeset
    32
  'p/1/(add addremove annotate blame archive \
2b2548342265 Update tcsh completion scripts with new commands and for new help output.
Gilles Moris <gilles.moris@free.fr>
parents: 1308
diff changeset
    33
    backout bisect branch branches bundle \
2b2548342265 Update tcsh completion scripts with new commands and for new help output.
Gilles Moris <gilles.moris@free.fr>
parents: 1308
diff changeset
    34
    cat clone commit ci copy \
9638
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    35
    cp debugancestor debugcheckstate debugcommands debugcomplete \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    36
    debugdata debugdate debugfsinfo debugindex debugindexdot \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    37
    debuginstall debugrebuildstate debugrename debugsetparents debugstate \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    38
    debugsub debugwalk diff export forget \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    39
    grep heads help identify id \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    40
    import patch incoming in init \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    41
    locate log history manifest merge \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    42
    outgoing out parents paths pull \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    43
    push recover remove rm rename \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    44
    mv resolve revert rollback root \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    45
    serve showconfig debugconfig status st \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    46
    summary sum tag tags tip \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    47
    unbundle update up checkout co \
8f8f9685ac5e update tcsh_completion for the new forget and summary commands
Gilles Moris <gilles.moris@free.fr>
parents: 7766
diff changeset
    48
    verify version)/'
1156
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    49