# HG changeset patch # User Martin Geisler # Date 1284070058 -7200 # Node ID 4a854122a1c738d7b2d14c3e77a1608eff914f17 # Parent f64b416b0ac88cccf4e83cc6059d4686e9365f85 convert: better grouping of command line flags in help We normally put related command line flags after one another. diff -r f64b416b0ac8 -r 4a854122a1c7 hgext/convert/__init__.py --- a/hgext/convert/__init__.py Wed Sep 08 15:23:48 2010 +0200 +++ b/hgext/convert/__init__.py Fri Sep 10 00:07:38 2010 +0200 @@ -265,14 +265,14 @@ (convert, [('A', 'authors', '', _('username mapping filename'), _('FILE')), + ('s', 'source-type', '', + _('source repository type'), _('TYPE')), ('d', 'dest-type', '', _('destination repository type'), _('TYPE')), + ('r', 'rev', '', + _('import up to target revision REV'), _('REV')), ('', 'filemap', '', _('remap file names using contents of file'), _('FILE')), - ('r', 'rev', '', - _('import up to target revision REV'), _('REV')), - ('s', 'source-type', '', - _('source repository type'), _('TYPE')), ('', 'splicemap', '', _('splice synthesized history into place'), _('FILE')), ('', 'branchmap', '', diff -r f64b416b0ac8 -r 4a854122a1c7 tests/test-convert.out --- a/tests/test-convert.out Wed Sep 08 15:23:48 2010 +0200 +++ b/tests/test-convert.out Fri Sep 10 00:07:38 2010 +0200 @@ -225,10 +225,10 @@ options: -A --authors FILE username mapping filename + -s --source-type TYPE source repository type -d --dest-type TYPE destination repository type + -r --rev REV import up to target revision REV --filemap FILE remap file names using contents of file - -r --rev REV import up to target revision REV - -s --source-type TYPE source repository type --splicemap FILE splice synthesized history into place --branchmap FILE change branch names while converting --branchsort try to sort changesets by branches