Changeset - 48b176df890c
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-01-26 23:18:51
marcin@python-works.com
fixes #732
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/controllers/forks.py
Show inline comments
 
@@ -94,8 +94,13 @@ class ForksController(BaseRepoController
 
                                            c.repo_last_rev) * 100)
 

	
 
        defaults = RepoModel()._get_defaults(repo_name)
 
        # alter the description to indicate a fork
 
        defaults['description'] = ('fork of repository: %s \n%s'
 
                                   % (defaults['repo_name'],
 
                                      defaults['description']))
 
        # add suffix to fork
 
        defaults['repo_name'] = '%s-fork' % defaults['repo_name']
 

	
 
        return defaults
 

	
 
    @HasRepoPermissionAnyDecorator('repository.read', 'repository.write',
0 comments (0 inline, 0 general)