hgext/githelp.py
changeset 38119 ee96458afdb6
parent 38118 d8bd6a9c64a5
child 38120 16463278e7f4
equal deleted inserted replaced
38118:d8bd6a9c64a5 38119:ee96458afdb6
   961 def svn(ui, repo, *args, **kwargs):
   961 def svn(ui, repo, *args, **kwargs):
   962     if not args:
   962     if not args:
   963         raise error.Abort(_('missing svn command'))
   963         raise error.Abort(_('missing svn command'))
   964     svncmd = args[0]
   964     svncmd = args[0]
   965     if not svncmd in gitsvncommands:
   965     if not svncmd in gitsvncommands:
   966         ui.warn(_("error: unknown git svn command %s\n") % (svncmd))
   966         raise error.Abort(_('unknown git svn command "%s"') % (svncmd))
   967 
   967 
   968     args = args[1:]
   968     args = args[1:]
   969     return gitsvncommands[svncmd](ui, repo, *args, **kwargs)
   969     return gitsvncommands[svncmd](ui, repo, *args, **kwargs)
   970 
   970 
   971 def svndcommit(ui, repo, *args, **kwargs):
   971 def svndcommit(ui, repo, *args, **kwargs):