Mercurial > hg > hg-git
changeset 734: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 (2014-05-20) |
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 +++ 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'))