# HG changeset patch # User Siddharth Agarwal # Date 1400558792 25200 # Node ID 5e53342c846bdf01bc23b894773c43664148f04c # Parent a67fecf02adb4b6753d781a79731d1832d7432ef gimport: drop empty options and redundant synopsis, and add help text diff --git a/hggit/__init__.py b/hggit/__init__.py --- a/hggit/__init__.py +++ b/hggit/__init__.py @@ -121,8 +121,9 @@ klass = hgrepo.generate_repo_subclass(repo.__class__) repo.__class__ = klass -@command('gimport', [], _('hg gimport')) +@command('gimport') def gimport(ui, repo, remote_name=None): + '''import commits from Git to Mercurial''' repo.githandler.import_commits(remote_name) @command('gexport', [], _('hg gexport'))