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