diff hggit/__init__.py @ 734:351213785c4a

gexport: drop empty options and redundant synopsis, and add help text
author Siddharth Agarwal <sid0@fb.com>
date Mon, 19 May 2014 21:07:09 -0700
parents 5e53342c846b
children b48be97bd6fd
line wrap: on
line diff
--- a/hggit/__init__.py	Mon May 19 21:06:32 2014 -0700
+++ b/hggit/__init__.py	Mon May 19 21:07:09 2014 -0700
@@ -126,8 +126,9 @@
     '''import commits from Git to Mercurial'''
     repo.githandler.import_commits(remote_name)
 
-@command('gexport', [], _('hg gexport'))
+@command('gexport')
 def gexport(ui, repo):
+    '''export commits from Mercurial to Git'''
     repo.githandler.export_commits()
 
 @command('gclear', [], _('Clears out the Git cached data'))