[PATCH 2 of 2] Turns convert.py into a real extension

Thomas Arendsen Hein thomas at intevation.de
Tue Jun 5 14:51:49 CDT 2007


* Edouard Gomez <ed.gomez at free.fr> [20070525 01:18]:
> # HG changeset patch
> # User Edouard Gomez <ed.gomez at free.fr>
> # Date 1180047408 -7200
> # Node ID 52a7725adb73715de3619fd1fc0ce1a5e250bd0a
> # Parent  1b2f567001a2bc39262db84e136ebf4b994e7eb9
> Turns convert.py into a real extension
> 
> +cmdtable = {
> +    "convert": (_convert,
> +                [('', 'datesort', None, 'try to sort changesets by date')],
> +                'hg convert [OPTIONS] <src> [dst [map]]'),
> +}

I suggest using the command name 'scmimport' instead of 'convert' to
make it clear what the command does and to make it similar to
'hg import' and 'hg qimport'.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list