contrib/tcsh_completion
author Brodie Rao <brodie@bitheap.org>
Fri, 10 Sep 2010 09:30:50 -0500
branchstable
changeset 12252 4481f8a93c7a
parent 11445 4061205ad9e1
child 13515 2616325766e3
permissions -rw-r--r--
convert/darcs: handle non-ASCII metadata in darcs changelog (issue2354) Given a commit author or message with non-ASCII characters in a darcs repo, convert would raise a UnicodeEncodeError when adding changesets to the hg changelog. This happened because etree returns back unicode objects for any text it can't encode into ASCII. convert was passing these objects to changelog.add(), which would then attempt encoding.fromlocal() on them. This patch ensures converter_source.recode() is called on each piece of commit data returned by etree. (Also note that darcs is currently encoding agnostic and will print out whatever is in a patch's metadata byte-for-byte, even in the XML changelog.)
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
11445
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
     5
# Mercurial Distributed SCM (version 1.5.4+154-8b452fe4bf50)
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 \
11445
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    35
    cp debugancestor debugbuilddag debugcheckstate debugcommands \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    36
    debugcomplete debugdag debugdata debugdate debugfsinfo \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    37
    debugindex debugindexdot debuginstall debugpushkey debugrebuildstate \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    38
    debugrename debugrevspec debugsetparents debugstate debugsub \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    39
    debugwalk diff export forget grep \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    40
    heads help identify id import \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    41
    patch incoming in init locate \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    42
    log history manifest merge outgoing \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    43
    out parents paths pull push \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    44
    recover remove rm rename mv \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    45
    resolve revert rollback root serve \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    46
    showconfig debugconfig status st summary \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    47
    sum tag tags tip unbundle \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    48
    update up checkout co verify \
4061205ad9e1 contrib: update tcsh_completion with commands for 1.6
Gilles Moris <gilles.moris@free.fr>
parents: 9638
diff changeset
    49
    version)/'
1156
1d5996d39c9d Add tcsh_completion to contrib
TK Soh <teekaysoh@yahoo.com>
parents:
diff changeset
    50