:return: repo.addSubmodule()

def handle_addSubmodule(repo, **kwargs):
    """:return: repo.addSubmodule()"""
    log.info('addSubmodule: %s %s' %(repo, kwargs))
    try:
        proxy = repo.addSubmodule(**kwargs)
        return [serialize(proxy, type='submodule', url=proxy.url)]
    except RepoError, e:
        raise