equal
deleted
inserted
replaced
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): |