Mercurial > hg-git
changeset 733:5e53342c846b
gimport: drop empty options and redundant synopsis, and add help text
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 19 May 2014 21:06:32 -0700 |
parents | a67fecf02adb |
children | 351213785c4a |
files | hggit/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/__init__.py Mon May 19 19:03:02 2014 -0700 +++ b/hggit/__init__.py Mon May 19 21:06:32 2014 -0700 @@ -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'))