• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


コミットメタ情報

リビジョン0e43247ef0940f6865e12af168f080b45fb53606 (tree)
日時2012-05-17 04:06:46
作者Eugene “Stilgar“ Gilewski <developer@gile...>
コミッターCory Johns

ログメッセージ

ticket:42: Fixed mount point regexp and removed odd to_name generation.

変更サマリ

差分

--- a/Allura/allura/controllers/repository.py
+++ b/Allura/allura/controllers/repository.py
@@ -74,7 +74,7 @@ class RepoRootController(BaseController):
7474 mount_label = mount_label or '%s - Code' % c.project.name
7575 try:
7676 to_name = (to_name or
77- re.search('\w+$', from_project.shortname).group(0))
77+ re.search('[a-z]+$', from_project.shortname).group(0))
7878 except AttributeError:
7979 to_name = ''
8080 if request.method != 'POST' or not to_name:
@@ -87,7 +87,6 @@ class RepoRootController(BaseController):
8787 if not to_project.database_configured:
8888 to_project.configure_project(is_user_project=True)
8989 security.require(security.has_access(to_project, 'admin'))
90- to_name = from_project.shortname
9190 try:
9291 to_project.install_app(
9392 ep_name=from_repo.tool_name,