Mercurial > hgsubversion
diff __init__.py @ 115:ed42f6e5705a
Clean up help text, document subcommands.
author | Luke Opperman <luke@loppear.com> |
---|---|
date | Thu, 20 Nov 2008 22:03:30 -0600 |
parents | fb1d911bb0be |
children | 291925677a9f |
line wrap: on
line diff
--- a/__init__.py +++ b/__init__.py @@ -6,6 +6,7 @@ from mercurial import hg import svncommand import fetch_command + def svn(ui, repo, subcommand, *args, **opts): return svncommand.svncmd(ui, repo, subcommand, *args, **opts) @@ -27,7 +28,8 @@ cmdtable = { [('u', 'svn_url', '', 'Path to the Subversion server.'), ('', 'stupid', False, 'Be stupid and use diffy replay.'), ], - 'hg svn subcommand'), + svncommand.generate_help(), + ), "svnclone" :(svn_fetch, [('S', 'skipto_rev', '0', 'Skip commits before this revision.'), ('', 'stupid', False, 'Be stupid and use diffy replay.'),