##// END OF EJS Templates
repo group: always update fullpath group_name when changing parent...
Mads Kiilerich -
r8732:03d51a2a stable
parent child Browse files
Show More
@@ -286,6 +286,7 b' class RepoGroupModel(object):'
286 286 if 'parent_group_id' in repo_group_args:
287 287 assert repo_group_args['parent_group_id'] != '-1', repo_group_args # RepoGroupForm should have converted to None
288 288 repo_group.parent_group = db.RepoGroup.get(repo_group_args['parent_group_id'])
289 repo_group.group_name = repo_group.get_new_name(repo_group.name)
289 290 if 'group_name' in repo_group_args:
290 291 group_name = repo_group_args['group_name']
291 292 if kallithea.lib.utils2.repo_name_slug(group_name) != group_name:
General Comments 0
You need to be logged in to leave comments. Login now