Clean repo name from group if exist for issue #37.

#212 Declined
Repository
udono
Branch
default
Repository
conservancy
Branch
default
Author
  1. Udo Spallek
Reviewers
Description
No description

Comments (1)

  1. Mads Kiilerich

    Bitbucket almost ate my comment:

    Using pop is clever ... but I think I would prefer repo_name.rsplit(URL_SEP,1)[-1]

    More important: can you please see if we can get a test for this? I guess some of the update_repo tests in kallithea/tests/api/api_base.py come close to cover this?