changeset 12202:d346089095ac

convert: move -A option to --authormap
author Martin Geisler <mg@lazybytes.net>
date Fri, 10 Sep 2010 20:11:42 +0200
parents 5bfa45651cf6
children c55d69c5fb77
files hgext/convert/__init__.py tests/test-convert.out
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/__init__.py	Fri Sep 10 15:32:22 2010 +0200
+++ b/hgext/convert/__init__.py	Fri Sep 10 20:11:42 2010 +0200
@@ -274,7 +274,7 @@
 cmdtable = {
     "convert":
         (convert,
-         [('A', 'authors', '',
+         [('', 'authors', '',
            _('username mapping filename (DEPRECATED, use --authormap instead)'),
            _('FILE')),
           ('s', 'source-type', '',
@@ -283,7 +283,7 @@
            _('destination repository type'), _('TYPE')),
           ('r', 'rev', '',
            _('import up to target revision REV'), _('REV')),
-          ('', 'authormap', '',
+          ('A', 'authormap', '',
            _('remap usernames using this file'), _('FILE')),
           ('', 'filemap', '',
            _('remap file names using contents of file'), _('FILE')),
--- a/tests/test-convert.out	Fri Sep 10 15:32:22 2010 +0200
+++ b/tests/test-convert.out	Fri Sep 10 20:11:42 2010 +0200
@@ -239,7 +239,7 @@
  -s --source-type TYPE  source repository type
  -d --dest-type TYPE    destination repository type
  -r --rev REV           import up to target revision REV
-    --authormap FILE    remap usernames using this file
+ -A --authormap FILE    remap usernames using this file
     --filemap FILE      remap file names using contents of file
     --splicemap FILE    splice synthesized history into place
     --branchmap FILE    change branch names while converting