##// END OF EJS Templates
fixes #732
marcink -
r3236:48b176df beta
parent child Browse files
Show More
@@ -94,8 +94,13 class ForksController(BaseRepoController
94 94 c.repo_last_rev) * 100)
95 95
96 96 defaults = RepoModel()._get_defaults(repo_name)
97 # alter the description to indicate a fork
98 defaults['description'] = ('fork of repository: %s \n%s'
99 % (defaults['repo_name'],
100 defaults['description']))
97 101 # add suffix to fork
98 102 defaults['repo_name'] = '%s-fork' % defaults['repo_name']
103
99 104 return defaults
100 105
101 106 @HasRepoPermissionAnyDecorator('repository.read', 'repository.write',
General Comments 0
You need to be logged in to leave comments. Login now