# HG changeset patch # User Marcin Kuzminski # Date 2013-01-26 22:18:51 # Node ID 48b176df890c694dcda2a7a6dc47573d2d76ca63 # Parent d6029dacbcc456cea48ea7a2bf8fd45725a1dc05 fixes #732 diff --git a/rhodecode/controllers/forks.py b/rhodecode/controllers/forks.py --- a/rhodecode/controllers/forks.py +++ b/rhodecode/controllers/forks.py @@ -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',