convert: move -A option to --authormap
authorMartin Geisler <mg@lazybytes.net>
Fri, 10 Sep 2010 20:11:42 +0200
changeset 12202 d346089095ac
parent 12201 5bfa45651cf6
child 12204 c55d69c5fb77
convert: move -A option to --authormap
hgext/convert/__init__.py
tests/test-convert.out
--- 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