allura
リビジョン | 6362fab0e22f5e74a93ee596225ad0a783ee991d (tree) |
---|---|
日時 | 2012-05-23 00:56:08 |
作者 | Dave Brondsema <dbrondsema@geek...> |
コミッター | Dave Brondsema |
[#2886] use mount label when forking
@@ -71,7 +71,7 @@ class RepoRootController(BaseController): | ||
71 | 71 | ThreadLocalORMSession.close_all() |
72 | 72 | from_project = c.project |
73 | 73 | to_project = M.Project.query.get(_id=ObjectId(project_id)) |
74 | - mount_label = mount_label or '%s - %s' % (c.project.name, from_repo.tool_name) | |
74 | + mount_label = mount_label or '%s - %s' % (c.project.name, c.app.config.options.mount_label) | |
75 | 75 | mount_point = (mount_point or from_project.shortname) |
76 | 76 | if request.method != 'POST' or not mount_point: |
77 | 77 | return dict(from_repo=from_repo, |